Change tasks are getting cancelled and type being changed when state of Parent change is set to review. How to stop this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 01:53 AM
Hi all,
I can see that the change request tasks which were added to it (implementation, testing) through workflow are getting changed as "Planning" type and state is getting "Cancelled" as soon as I click review. we are using OOTB workflow only and I couldn't find any associated scripts. Why is this happening and how do I make changes so that implementation and testing change tasks will be same and won't be changed to Planning type.
workflow:
change:
tasks changed to planning type and got cancelled, when change state is set to review:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 02:06 AM
Ideally you should complete the implementation tasks, the change request will move to review. So unless and until implementation tasks are implemented how the change can be reviewed?
If the change is in review state then it means change has been implemented, so the tasks get cancelled.
That is how OOB change works.
Create a new workflow, if you want to change this behaviour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 02:41 AM
Hi
Let me know, if you need more details. Otherwise close this thread by marking my response as correct. It will benefit other users with similar query.
Thanks,
Chandra Suvro Bose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 04:14 AM
Hi @Suvro
I am new to this, and the requirement is as soon as implement button is clicked, we are getting two tasks (OOTB) and our requirement is to assign these tasks two two different users by default.
One task should be assigned to Requester of change and the other task to certain user A.
This is done using BRs but the moment change is set to review, even though tasks are in progress they are getting cancelled. and from what I understand you are saying that anyhow they will click on review only after closing the tasks, so it won't affect since closed tasks can not be changed to cancelled. Did I understand it right?
My other question, if I had to stop cancelling the tasks even when review is clicked, what should I do? or in other words how do I make changes to not allow user to change the state to review until and unless the tasks are completed? Please help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2022 07:11 AM
There are 2 ways to achieve this
1.
Disable the Review UI Action, in the workflow after the implementation tasks , use a set value activity to change the state to Review
2.
Create a custom field on the table of type yes/no or checkbox default value no or false, in the workflow after the implementation tasks , use a set value activity to change the value of that field to yes or true.
In the review UI action add the condition that current.newField == "yes" or current.newField == true (depending upon what kind of field it is)
Then that review UI action will be visible only when all implementation tasks are closed