- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 01:47 AM
I want to update the existing flow, and also want to rerun the existing request which uses the old flow with the new flow.
Scenario :-
I have created the flow which has condition to check assignment group as ='xxx';
and around 500 request has been implemented with this flow.
Now , it has been observed that if the different group is selected the flow is in waiting state(for 300 of total 500 request), so now as a part of requirement I have to remove this condition for assignment group form the flow, and rerun all the previous existing request with this updated version of flow so that, the flow will now wont struck.
SO, Is it possible to update the existing flow(i.e to remove the condition to check the assignment group ) AND to re-run all the 500 request with this Updated flow.
Thanks in Advance,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 02:02 AM
Hi There,
You can modify your flow anytime , then you need to save it and publish it.
To rerun all the requests with the new flow, you might have to write a script to find those 500 records and cancel the existing flow for them and again attach the same flow with the script. Probably a back ground script or fix script would do this. Below thread might help you to cancel a flow.
Cancel flow designer flow - Now Platform - Question - ServiceNow Community
Cancel running Flow contexts - IT Service Management - Question - ServiceNow Community
To rerun your flow, below doc should be able to help you:
FlowAPI - Scoped, Global (servicenow.com)
Please mark this as correct and helpful if it resolved the query or lead you in right direction.
Thanks,
Mohit Kaushik
Community Rising Star 2022
Mohit Kaushik
ServiceNow MVP (2023-2025)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 02:02 AM
Hi There,
You can modify your flow anytime , then you need to save it and publish it.
To rerun all the requests with the new flow, you might have to write a script to find those 500 records and cancel the existing flow for them and again attach the same flow with the script. Probably a back ground script or fix script would do this. Below thread might help you to cancel a flow.
Cancel flow designer flow - Now Platform - Question - ServiceNow Community
Cancel running Flow contexts - IT Service Management - Question - ServiceNow Community
To rerun your flow, below doc should be able to help you:
FlowAPI - Scoped, Global (servicenow.com)
Please mark this as correct and helpful if it resolved the query or lead you in right direction.
Thanks,
Mohit Kaushik
Community Rising Star 2022
Mohit Kaushik
ServiceNow MVP (2023-2025)