Want to create a variable inside a flow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 07:51 AM
I have a flow which will assign the approval group by the timezone.I have a created a action script and the timezone is coming from the user table.
if the timezone is US i want to store the sysid of the approval group.
So do you guys know how can i create a variable inside a flow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 07:55 AM
Hello @NeethuB
Yes, go to hamburger icon on the right hand side and click on flow variables. You can create variables from there.
Refer below documentation - https://www.servicenow.com/docs/bundle/xanadu-build-workflows/page/administer/flow-designer/task/cre...
Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 07:56 AM - edited 03-21-2025 07:59 AM
Hi @NeethuB
May I know why you want to store the sys id? What's the purpose of this?
Please give more information.
If you want to store that temporarily and that needs to be reused within the flow, then you can create flow variables.
PFB servicenow doc to get more info on flow variables.
Regards,
Siva