Hi,I'm working with TS 6.7.1 and workflow modeler 1.1 on a deployment workflow which consists of start and end events and external and nested tasks. The external task will get the workflow files and loop through N branches and for every branch, the nested task will be called and files will be attached. Once the N branch has been called and files attached to it then go to End event to end workflow.I'm using the modeler to do this, but the how can I call the nested task and attach files to it every time I loop through in some for each loop in the external task?Thanks in advance
Solution-1write an mechanism in your external task perl script/java that will do the above mentioned procedure and your script will initiate the child workflows,In this case you need not to use Nested Task and all your child wf will work concurrently........In short your script get files for Exteranal Task,attach them and initiate the new child Wf for deployment and continues for second branch.
Solution-2If you use Nested Task,the Exteranal Task script will be responsible to set Nested Task as NextTransitionTask(callBack in case of perl script) every time the loop executes for a branch.In this case all child wf initae one-by-one because until the child workflow will not end up (initiated by nested workflow task),the loop will not be executed for second branch........So we can say that only one child wf willexecute at a time,no concurrent execution.
I'm working with the modeler so the workflow is *.ipm and not *.wft. I know the job specification file is an xml file. do you know how to generate the XML file from ipm extension file?
This solution also seems to be appealing, but how can the nested task be set as NextTransitionTask?
Set Attribute debug="true" for your workflow in available_models.cfg under the Tab ADMINISTRATION-->Manage Workflows
Hi,...So I did all that and when I ran the workflow and the code...the variable $wfError outputs "not well-formed at line 1 "So I added <?xml version="1.0" standalone="no"?> to the first line in the xml file, but still didn't work. Perhaps I need to also add the <!DOCTYPE worflow SYSTEM "iww.dtd"> clause but what values workflow and iww.dtd will have?Thanks in advance.
Hi,If you are talking about xml header for example:[...] [html][/html] I will replace note with workflow and such for the other node elements in the workflow xml file.Also I can create the same file in the same path the xml file is stored.Am I in the right direction?Thanks in advance.