Wait for change request to move to scheduled state inside workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 06:57 AM
Hello All,
I have a workflow (associated to Service Catalog Item) that needs to wait for a change record state to move to "scheduled" state (or wait till state changes to a specific desired state) and then perform an activity.
The catalog item takes change number as one of the input values. During the request submission, the change could be in "new" state but the workflow associated needs to take an action when the change got approved and moved to scheduled state (which happens outside the workflow context.
I was looking at "wait for condition" activity but it uses current record in the conditions (in this case ritm record) but I want to condition on the change record.
As there can be a long gap between the request submission and approval, I do not want to use timer- activity in loop and keep check the state of the change record.
Any suggestions in this regard is highly appreciated.
Thanks,
Suneel
- Labels:
-
Request Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 07:25 AM
Hi,
Create a BR in Change. From BR update the Requested Item record's state or some hidden field or variable when state changed to scheduled.
Use this hidden field / variable in your workflow.
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 07:51 AM
Thanks for the reply.
The workflow needs to wait for state change of ONLY for the change record # , the catalog item receives as input. BR will not know the CHG# as it is dynamic and it all depends on the request submission. This requirement is only for CHG# submitted through the request and NOT for all change records.
The use case is:
1. User submits a request by providing the change request number as one of the inputs from UI
2. Workflow triggers
3. Workflow needs to wait till the change request state moved to "Scheduled"
4. Once change is in scheduled state, workflow will have to perform an action (could be any thing)
5. complete the workflow
--Suneel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2022 06:23 AM
Team, any suggestions in this regard is highly appreciated