Hi,
I have a process that has failed on a "Script task".The error is : ERROR:Work item cancelled (Data Outputs)After reading internet and forum, I have understood the error was caused by a deactivated user (manually deactivated by the client).Now, my client needs to make the process to be continued to the end, assigning a new user (as if there was not any error). The problem is the process is not simple, it has 20 nodes remain to be processed.
So, because I've read I can not change the pp!initiator, and because it was urgent, I've edited the process Instance, and change the assingment of all the nodes in selecting this option "Run as whoever designed this process".After restarting the instance, the process could finish to the end.Questions : - is there any way to do it in a more simple way ? or a best practice ?- could the "Reassign task" Smart Service could help ? Regards
Discussion posts and replies are publicly visible
Simple solution: Do never deactivate a user before checking for active process instances.
Thank you Stefan but you do not reply to my question.What to do if the client did it, why he never should do it ?
I would try to reactivate that user. Then restart the last failed node.
cedric01 said:s there any way to do it in a more simple way ? or a best practice ?
Temporarily reactivate the deactivated user, restart process, then deactivate again.
cedric01 said:could the "Reassign task" Smart Service could help ?
No, it only works for User Tasks, not Script Tasks
Thanks a lot Shubham, for your explanations