Can you have a "scratchpad" similar variable in the Flow Designer for a subflow like you can for a workflow?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2020 10:04 AM
I need a way to have a "scratchpad" type of variable in the Flow Designer for a subflow. I have been unable to find a way to create a variable that can be set to a value and used further down in the subflow, similar to what you would do in a workflow (only this would be used in the Flow Designer with a subflow.)
I am trying to set a variable that I can use further in the subflow to reference a sys_id. I will then use the variable with the sys_id to do a lookup to find the record that needs to be updated. Is this possible with Flow Designer?
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2020 12:06 PM
Hi
There is no direct scratchpad feature as such. But you could create a custom action that takes your variable as an input, do the required processing and output that variable and that can be available later in the flow.
Mark the comment as helpful if it helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2020 12:26 PM
Asifnoor,
That is exactly what I'm trying right now. Hopefully, this is something they will add functionality for down the road.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2020 12:38 PM
Okay, great.
Also, could you mark my comment as a correct answer so that the question is moved to the solved list.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2020 01:19 PM
I don't think this is going to be a viable option for us. We are using a Data Stream in the Sub flow to get data from Workday. Due to trying to call that action for the variable, I'm getting an error.