I am trying to call /iw-cc/newform as the first task (cgitask) in my workflow (for use on submit within CCstd).. it does get called, but it seems to not pass in the 2 required parameters that I am trying to pass in.. (so its launching the pick your DCT page instead).. is there another way to pass in the parameters into the cgitask? (using 6.7.1 on Solaris 10)also, anyone know what should the done_page variable be set to in order to continue back into the workflow?any guidance would be appreciated.here is a snippet of my code:
...is there another way to pass in the parameters into the cgitask? (using 6.7.1 on Solaris 10)...
I don't believe the CCI URLs understand task-level variables - instead I think you need to concatenate those parameters onto the URI (e.g.: /iw-cc/newform?****=yyy&zzz=aaa) except you may have to play around with the '&' part since XML tends not to like that character being used all over the place.
using the as my cgi_command: my $cgi_command = "/iw-cc/newform?iw_tdt=library/content&vpath=//webcmsdt1/default/main/TEST/WORKAREA/jpr_test";this is what the browser tries to load:http://localhost/iw-cc/newform?iw_tdt=library/content&vpath=//webcmsdt1/default/main/TEST/WORKAREA/jpr_test?iw_jobid=14338&done_page=/iw-cc/base/util/refresh_done_target_and_close_window.jsp?done%5ftarget=fs%5fget%5flist%5fframe%28%29&user_role=&taskid=14339&taskID=14339&iw_desc=&task_id=14339&iw_overwrite=&iw_user=watadmin&iw_workarea=/default/main/TEST/WORKAREA/jpr_test&iw_template_name=Submit to DB-2&iw_taskid=14339&session=52616e646f6d4956e844b685343705832a4073971697bcd447a5b12f091797b29eeeb53a94bfdc4fd99e374759e405eb727a5b50167609b7&iw_session=52616e646f6d4956e844b685343705832a4073971697bcd447a5b12f091797b29eeeb53a94bfdc4fd99e374759e405eb727a5b50167609b7&area_path=/default/main/TEST/WORKAREA/jpr_test&iw_role=&iw_home=/opt/iw-home&user_name=watadmin&iw_branch=/default/main/TEST&iw_use_default=&iw_areaowner=watadmin&iw_template_file=waters/sampledd2.wft
How do you pass (or try to pass) required parameters? Code fragment you provided does not have any. Whatever is the mechanism you've tried you may want to run WF in Debug mode and check if the syntax you want/expect has been generated
that was my original thought.. when I put that in the cmd.. i get:"The given path //webcmsdt1/default/main/TEST/WORKAREA/jpr_test?iw_jobid=14338 is not a valid path for form entry."seems to add another "?" after mine and break the URL.. here is the full URL: using the as my cgi_command: my $cgi_command = "/iw-cc/newform?iw_tdt=library/content&vpath=//webcmsdt1/default/main/TEST/WORKAREA/jpr_test";this is what the browser tries to load:http://localhost/iw-cc/newform?iw_tdt=library/content&vpath=//webcmsdt1/default/main/TEST/WORKAREA/jpr_test?iw_jobid=14338&done_page=/iw-cc/base/util/refresh_done_target_and_close_window.jsp?done%5ftarget=fs%5fget%5flist%5fframe%28%29&user_role=&taskid=14339&taskID=14339&iw_desc=&task_id=14339&iw_overwrite=&iw_user=watadmin&iw_workarea=/default/main/TEST/WORKAREA/jpr_test&iw_template_name=Submit to DB-2&iw_taskid=14339&session=52616e646f6d4956e844b685343705832a4073971697bcd447a5b12f091797b29eeeb53a94bfdc4fd99e374759e405eb727a5b50167609b7&iw_session=52616e646f6d4956e844b685343705832a4073971697bcd447a5b12f091797b29eeeb53a94bfdc4fd99e374759e405eb727a5b50167609b7&area_path=/default/main/TEST/WORKAREA/jpr_test&iw_role=&iw_home=/opt/iw-home&user_name=watadmin&iw_branch=/default/main/TEST&iw_use_default=&iw_areaowner=watadmin&iw_template_file=waters/sampledd2.wft
well I was trying to do it this way:< variables > < variable key="iw_tdt" value="library/content"/ > < variable key="vpath" value="__VALUE__('$area_vpath');"/ >< /variables >but that didnt work.. and the in the command itself (as in my above post) and that did not work either.. I can deal with making it dynamic once I get it working as a static. for now I am just hard coding it trying to get it working..
Please note that "newform" is not a CGI Task, it's just one of the Content Center URLs. As such it has no idea that you are trying to use it in the Workflow, much less that you set some variables to process.That said, you should be able to use standard CGI syntax: ...newform?vpath=foo&iw_tdt=moo. As noted before by Ghoti that may (will?) create malformed WF XML, so the real syntax will be something like ...newform?vpath=foo&amp;iw_tdt=mooUnrelated note: if you do something like WFT Fragmewnt above you should probably use "__TAG__('$area_vpath');" not __VALUE__
I tried that as posted above, and its adds an additional set of params (and the question mark) after mine, so it does not seem to work.