Hi,I have a cgi task which sets the priority of a workflow.This cgi task is invoked after a user belonging to a particular group takes ownership of the group task and clicks on "set priority" button. I have set the immediate flag to true, so when the user clicks on set priority button from the workflow the cgi task window appears. If from the same window user clicks on cancel the task by default goes to an intermediate task which has the button "start input task" . Is it necessary to provide some input to cgi everytime you transition to it. How can we move back to the group task where user took ownership of the task on clicking cancel. My problem is this intermediate task which appers when user clicks cancel. I have already tried transition on cancel but it doesnt seem to work.
I have set the attribute immediate="true". You took it correctly i have a group task followed by a cgi task. The member of the group after taking the ownership clicks on "Set Priority" button to trigger the cgi task.
As of now i am not using any iwat that should take care of the ownership, but in the cgi script i made sure that when user navigates aways from the cgi window by selecting the priority and clicking on "ok" the owner of the next task should be the owner of the previous group task by using the setowner function. I am using wft. and teamsite 7.1.
I am talking about hitting the cancel button in the cgi task window. If user clicks on this the window close but i get an intermediate task which has the button "start input task" i dont have this task but my problem is why does a cgi task not remain on its state when i close the window just like other tasks.
I was going through the workflow documentation just a few mins back and found out that if a user attempts to close cgi task window, user can explicitly start that task after clicking on the start button. I think this is the default functionality of teamsite. but is there a workaround for this???