1 person found this helpful
I would strongly suggest not to mess with the database. For one, you application won't be supported anymore and second, there's a lot going on in the database and it'll be hard to get it right.
Is there any way you can add route from C back to B. Then you could build a custom component that force the completion of the task and follows that route to go back to B?
Thank you for your quick reply, Jasmin.
For your suggestion, it will be great if the retract routing is not displayed as a button when user process form. My customer wants only certain user can retract the process.
Is there any way I can achieve that?
Now i'm trying to build a custom component to invoke the Retract route. Currently the task is assigned to user A.
but i don't have the password of user A. When I use Administrator account to invoke taskmanager.completeTask(204,"Retract"), I have this error:
User: 43296024-F721-D137-5FDF-D01FF8A70682 is not assigned task: 204. The task cannot be completed
Is there any way I can complete the task without knowing A's password ?
Currently I add Task ACL for Administrator account and do claimTask & completeTask. I'll update the status after UAT.
My final solution is use Administrator to reassign task to himself and complete the task with "Retract" route.
I also rebuild the form processing component so that it will not display "Retract" button at user view.