workflow in the flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 07:34 AM
Hi team ,
How do I apply the run script of a workflow in the flow designer?
Script : workflow.scratchpad.approvalorder = 10;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 07:39 AM - edited 07-31-2024 07:41 AM
Hi there,
For this you can create a Flow Variable.
See for example this explanation from @Community Alums :
https://www.servicenow.com/community/developer-blog/flow-variables-in-flow-designer/ba-p/2577392
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
07-31-2024 08:08 AM
Hi @pramn ,
1. Create an action in the flow designer using run script type of activity
2. Copy your script in this activity
3. Publish the action
4. Create a flow design and from the actions options select this newly published action.
Plz mark my solution as Accept, If you find it helpful.
Thanks & Regards,
Sumanth meda