Hello Everybody,I face following problem with "Generate" external task of my Approval Workflow:This task automatically gets activated, no matter if its predecessor task (user task) are triggered or not Means this task gets triggered without being signalled to do so.I have attached my wft, please go thru it & suggest me what further I shall do as I want Generate task to be triggered only when the approver approves it.Secondly, iw_debug_mode doesnt work for me and this file given in iw_output_file doesnt get generated. I have used it in this workflow.Please help me to fix these two issues___________________________-Thanks,Retesh
The culprit of your Generate task is - start="t"For second question, read the workflow guide, as your TAG_info syntax is incorrect.
Hi kaalraa,If I remove start attribute from Generate task or turn it false then workflow job doesnt trigger & throws error message that "Generate task is not a start task"I doubt if start attribute is mandatory for external tasks.For my second question I had gone thru Wf pdf earlier. I dont think I have made an error in specifying TAG_info, please correct me if I am wrong.______________Thanks,Retesh
You're getting an error when you remove the start attribute from the Generate task because you have the code there to attach pre-selected files.That code should be moved to your (apparent) real start task - "Approver" because you can only have a 'files' element on a 'start' task.As for the TAG_info - I don't believe that iw_debug_mode can be a text field - I believe it should be either a radio button or checkbox - and you should make the HTML you're using for those field XHTML compliant.
Hi Ghoti,Thanx man. You are bang on target to solve my first problem:I moved the template_script tag and its code from Generate task to Approver and then removed start attribute from Generate task------> here things started working with my workflow the way I designed it.But my second problem remains the same, though I modified TAG_info section.I am attaching its code.________________Thanks,Retesh
Are you getting an error? Do the tags show up in the instantiation form?Does the job just finish going through instantiation and start running when you have debug mode set to true? Do you have any required TAG_info() fields? (if not, it won't provide an instantiation form for you to do anything).
Hi,Yes tags shows up in the instantiation form.iw_debug_mode is required in TAG_infoWhen I submit the form by chosing true option in iw_debug_mode, then WorkFlow Template Debug Mode template does apper but its file does not get saved in the tmp directory.__________________Thanks,Retesh