- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2022 01:50 AM
Can anyone tell me if there is a way to edit in-flight flows that are running to edit a step that the flow has not reached?
I have some flows running with a scripted step missing the fd_data_trigger and want to try and inject this into running flows to avoid them erroring rather than have to cancel and rerun the flows (there could be several hundred).
example:
the first line I have as:
var desc = current.description
when it should be:
var desc = fd_data.trigger.current.description
Your help is appreciated, thanks.
Solved! Go to Solution.
- Labels:
-
flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2022 01:59 AM
Hi there,
In theory you could edit the flow context. Though haven't tried this myself (only tried for workflow), and also would not suggest this to customers. This could be really tricky, you really to be careful and need to very knowledgeable.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2022 01:59 AM
Hi there,
In theory you could edit the flow context. Though haven't tried this myself (only tried for workflow), and also would not suggest this to customers. This could be really tricky, you really to be careful and need to very knowledgeable.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2022 02:16 AM
Thanks Mark, I appreciate that it might be a tricky solution, in which case I would rather bear the brunt of the extra work cancelling and restarting the flows. I am taking some pro-active action just now by updating the production flows in advance of the Rome upgrade to lessen the impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2022 04:51 AM
The result was that we could not edit the original source code, so my solution was to cancel and restart the flows which I knew would error. If the condition occurs that the remaining flows error then they will just be restarted.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2022 09:15 PM
Hi there,
Any follow-up needed? Or was my answer sufficient?
Let me know.
If your question is solved, please close the topic by marking my answer as correct. This will help others searching for a similar question and will remove the topic from the unsolved list.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field