Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
CGI instantiator question
JNLITeamsite
Hello,
I am not sure if the problem is that I am a workflow newbie, but I think that this is an actual bug.
I have attached the workflow. It spawns off external tasks, it runs as it should. Unfortunately, it does not display the
form to collect the stuff specified in TAG_info during CGI instantiation. Instead it just skips right on to the first step in the workflow.
If I introduce a bug in the .wft file (like turning start = "t" to false for the first task) then I get an error in a javascript popup but it DOES display the form to collect data from the TAG_info fields.
I've looked at Knowledge Base Article 2273 and I see that iw_use_defaults is set to true when I dump the data to a log file. So I suspect that
there must be some way to unset this default value.
I won't go through all the various combinations I've tried to get the form to display, but I've banged my head against the wall long enough that I need a fresh pair of eyes to look this over.
I am using Teamsite 6.0.0 Build 25262 Interwoven 20030919.
Thanks in advance,
Rodney Hampton
Find more posts tagged with
Comments
Adam Stoller
You forgot to attach the wft.
Normally the reason why the instantiation form does not show up is because you do not have any non-pre-filled-in / required fields in the TAG_Info() section.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
JNLITeamsite
Here it is, although I thought I attached it the first time
Adam Stoller
Hmm - well it looks like the prompt for "Approver1" should force the workflow instantiation form to show up.
"iw_output_file" is provided with a default value
"iw_debug_mode" is provided with a default value
"food" is not required
"beverage" is provided with a default value
"Contributor" may be provided with a default value if 'iw_user' happens to be listed within the author.uid file
"Approver2" may be provided with a default value if 'iw_user' happens to be listed within the admin.uid file
What did the data in your logfile show?
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
JNLITeamsite
The log file didn't turn up anything of significance. I just got this to run fine (CGI instantiator gives me the form to fill in) on our production server Teamsite 5.5.2 Build 14136 Interwoven 20021127 so I'm leaning pretty heavily toward this being a bug in Teamsite 6.0.0.
I'll try removing more of the default values in Teamsite 6 and give it another try.
JNLITeamsite
Even when I specify is_required, make sure that there is a valid_input regex, and make sure that there is no default value to populate the stuff, I still don't get the form to show up. There's nothing on the current list of bugs for 6.0.0 that seem to apply. I appreciate your help so far.
TAG_info(
beverage => [
html=> "<input type='text' value=''>",
is_required=> 'true',
label => '<strong>Enter beverage choice</strong>',
valid_input=> '/^Beverage:/',
error_msg => '<br><strong>'.'ERROR: input must begin with "Beverage:"'.'</strong>',
],
Description =>
[ html => "<textarea rows='5' cols='40'></textarea>",
label => "Job Description",
valid_input=> '/^This is a test/',
is_required => "true",
],
Contributor => [html => "$iw_authors_html", is_required => 'true', label => "Contributor",],
Approver1 => [html => "$iw_editors_html", is_required => 'true', label => "Approver1",],
Approver2 => [html => "$iw_admins_html", is_required => 'true', label => "Approver2",],
);
Migrateduser
Hi Rodney:
A couple questions, as I try to reproduce your symptoms:
1) when you put in bogus code in your WFT to force an error message, does the form show up with values in every field? Or blank ones in required fields?
2) What UI are you coming from? WebDeskPro (classic)? CCPro? Are you using the "New Job" command to bring up the WFT? Have you experienced anything similar with the default workflows in 6.0?
Thanks!
--
Evers Ding
Staff Engineer, Interwoven
Migrateduser
I'm unable to reproduce your problem on a stock install of TS6.0.0 (build 25262/20030919). That being said, perhaps we can find out more about the problem and try to understand why it's not working right on your installation....
What happens if you force iw_debug_mode to default to true? What is the resulting XML displayed on screen? Are all necessary values populated?
When you say that nothing significant showed up in the logfile, would it be possible to show us what actually did show up?
Best wishes,
Evers
--
Evers Ding
Staff Engineer, Interwoven
JNLITeamsite
Sorry for the delay. We just had an Interwoven consultant on-site and he got my workflow to work on his laptop (win2k) teamsite 6 without a hitch.
We're pretty sure that the problem is related to the unsupported configuration we have for Teamsite 6 (we've got it set up on a solaris 9 box). I didn't discover this until yesterday when I started digging into the problem.
Thanks again for everyone's help.