Is it possible via workflow to auto change the state of Change Request in RITM table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2023 08:16 AM - edited 03-21-2023 07:25 PM
Is it possible via workflow to auto change the state of Change Request State.
As when ever the RITM got approved via workflow Catalog Task and Change Request are getting ctreated.
Mainly when the Catalog Task State gets changed then Change Request State should get change automatically.
Until the Change Request ctreation it's working fine.
Created below mentioned workflow and few scripts used in wait for condition to auto change the state of Change Request but it's not working.
Can anyone help me @priyasunku @Ankur Bawiskar @BharathChintala @Sumalatha Y @AnveshKumar M @Allen Andreas @asifnoor @Brad Tilton @Pradeep Sharma @Sonu Parab @Community Alums @Hemant Goldar
Create Task Script:
Wait for Condition Script
Task Table Values of State Field:
Change Request Table Values of State Field:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2023 04:19 AM
Hi @Arjun Reddy Yer ,
You can try achieving this, before that,
1. Check that in Create Task activity for Change Request creation You shouldn't have checked "Wait for completion"
2. The change request states should be changed in the same order as per the type of change, if you skip on state and try to move it to another state it will not work.
Now coming to the solution part,
You can use wait for condition activity on Catalog Task state field - One activity for each sate and when the condition meats you should set all the mandatory fields in change request for that state and the update the state.
You can also use a sub workflow for this.
Thanks,
Anvesh
Anvesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 10:40 PM
Hi @Arjun Reddy Yer ,
What exactly you are trying to achieve here?
You want to close the change as soon as the change tasks are closed automatically?
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 11:47 PM - edited 03-28-2023 06:20 PM
I required to auto change State of Change Request from Schedule to Implement & Review.
@priyasunku @Ankur Bawiskar @BharathChintala @Sumalatha Y @AnveshKumar M @Allen Andreas @asifnoor @Brad Tilton @Pradeep Sharma @Sonu Parab @Sandeep Dutta @Hemant Goldar @Amit Gujarathi @Kieran Anson @JaspalSingh @sachin_namjoshi @Harshvardhan @Mike Patel @Anurag Tripathi @Ajay Kumar011 @Chuck Tomasi @PrashantLearnIT @Michael Fry1
As off now created Business Rule for which it's auto changing the State of Change Request from New to Schedule based on SCTASK state value
Business Rule:
As when the Change Request State is auto changed from Schedule to Implement then the Change request should get auto Assigned to user based on SCTASK Assigned to filed value and afte that the Change Tasks should get auto close with the Close Code & Close Notes and then it should auto change the state to Review and to Close (based on the SCTASK State field).
Task Table Values of State Field:
Change Request Table Values of State Field:
Process need to flow