Send flow variable as Output to the main flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 11:03 PM
Hi All,
I have created below flow variable, in my subflow
And under output , i do not see this variable to be sent as output to the main flow.
Kindly advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 11:45 PM - edited 07-31-2024 11:53 PM
Hello @Anubhav24 ,
If you want to send input variable as a output to the main flow, you have to create that variable again in output variables section.
If you already created a Output variable in Sub flow, you can directly assign that variable to the Flow Variables or any variables in main flow by selecting Data Panel.
Output variables are available on Data Panel for that sub flow
Thank you
G Ramana Murthy
ServiceNow Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 11:57 PM
Your screenshots are tiny and unreadable, but are you setting the variable somewhere so it can be used as output?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 12:34 AM
Hi @Mark Manders ,
I have created a flow variable in my subflow and setting a value to it based on certain conditions.Flow variable created as below:
Now after setting value to this flow variable I need to send it to the main flow.
When I am trying to set the output on this subflow I dont get the option of selecting this flow variable as output variable as below: