Do not cancel Change Tasks when setting Change to Review state

Sven Lieback
Tera Contributor

Hi everybody,

I would like to change the OOTB behavior that the change tasks are cancelled when a change is set to Review. Can anybody tell me which mechanism (Business Rule or anything) I have to modify? Actually I was not able to find it.

Many thanks
Sven

1 ACCEPTED SOLUTION

Jiri Skala
Giga Guru

It is done by workflow: when the Change request's state changes to Review, the workflow "Change Request - Normal" is completed, and it automatically cancels its sub-workflow "Change Request - Normal change tasks." And this sub-workflow sets both Change tasks to Canceled. You can also note that if you create an additional Change task manually, it is not being canceled because sub-workflow "Change Request - Normal change tasks" is not aware of it.
The same happens for Emergency changes; see the workflows "Change Request - Emergency" and "Change Request - Emergency change tasks."

View solution in original post

4 REPLIES 4

Jiri Skala
Giga Guru

It is done by workflow: when the Change request's state changes to Review, the workflow "Change Request - Normal" is completed, and it automatically cancels its sub-workflow "Change Request - Normal change tasks." And this sub-workflow sets both Change tasks to Canceled. You can also note that if you create an additional Change task manually, it is not being canceled because sub-workflow "Change Request - Normal change tasks" is not aware of it.
The same happens for Emergency changes; see the workflows "Change Request - Emergency" and "Change Request - Emergency change tasks."

Hi Jiri, thanks a lot. So I took a look at the workflow contexts and you are right. I also figured out that manually created tasks are not cancelled before. Do you have an idea how to stop cancel the tasks or is there no way because it's platform/engine behavior?

Of course, you can change this behavior. You can either modify the OOB workflows or disable them and develop your own fully custom workflows instead to achieve the behavior you need.

Please, mark my answer as Correct if this solves your issue and/or mark it as Helpful if you find my response worthy.

Thanks
Jiri

Kenny2
Giga Contributor

Hi Sven, I am having the same requirement to prevent cancellation of change task upon review. Maybe you can share how did you do it or what part of the workflow did you tweak/modified? Your answer will be very much appreciated. Thank you.