I have generated dynamic user task.
if anyone of the dynamic users rejects the task,i want to track who rejects
if i have reviewer1,reviwer2, rev 3 and they are dynamically created.also they are connected to an OR.my need is,if reviewer1 rejects , i need his task id or name.but if i use wfvarfinishop it brought the reviewer 3 (because rev 3 is inactivated last) name.
hi, I wnat to get the prvious task id.... I have generated dynamic user task. I am connecting all those tasks to OR condition.My scenario, if anyone of the dynamic users rejects the task,i want to track who rejects .i used wfvarfinishop element,but is not bringing the correct output.suppose, if i have reviewer1,reviwer2, rev 3 and they are dynamically created.also they are connected to an OR.my need is,if reviewer1 rejects , i need his task id or name.but if i use wfvarfinishop it brought the reviewer 3 (because rev 3 is inactivated last) name. can you suggest me to come out of this problem??
Are you saying as per number of reviewers selected ... you have generated one user task for each? If yes, then why you are not using a group task which can bve shared along all the reviewers? If you can use a Group Task instead... the reviewer who takes up the task would be owner of the task and your problem would be solved.Could you please attach the code snippet of your workflow... where you have used wfvarfinishop? I have used it before and it is working as required.
You can use the iwgetwfobj taskid to get the information. You need to parse the xml out to the previous task that activated this task.
<predecessors> <predecessor hasactivated=f id=22978></predecessors>
please tell if there is any bug in this function.