Hi ,I have a requirement to iterate a user task thrice . i was setting the workflow variable in task previous to the user task and then iterating it thrice using the script in conditional link(checking the condition ).i am using append to increment this counter variable.i am getting an error that the workflow cannot be instantiated.kindly suggest how to go about it? Also are the workflow variables available only for that particular task??? if yes then how workflow variables and task variables differ?
i have a workflow something as follows: userTask1---->userTask2---->userTask3i am setting a workflow variable equal to 0 for userTask1 then i am append it by 1 in userTask2 and calling the userTask2 based on the script for the transition from userTask2 to userTask3. Is an external task required for it ? can't we do without it. as per my understanding we can't chnage the value of the global variable ..is the case same with workflow variables? while instantiating as soon as i say submit the page goes blank and browser shows the header error.thats it. no other elaborations on it (err).
well your right i'll be changing the ownership of the user task for thrice. But for the time being i was jus testing that how to loop around a user task .I cant use three successive user task coz if the requirement changes and we need to loop around 10 times then this logic will be better.
i'll tried with external task .i am taking a workflow start op variable(say counter) in ext task and initailizing it to zero .then when in transition i am using it to chk the cond the script gives me err saying " counter not defined" i am basically not gettin a way to define this counter which i can globally access and change throughout my workflow.