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

Sara3
Giga Guru

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?

9 REPLIES 9

asifnoor
Kilo Patron

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.

Asifnoor, 

That is exactly what I'm trying right now.  Hopefully, this is something they will add functionality for down the road.

Okay, great.

Also, could you mark my comment as  a correct answer so that the question is moved to the solved list.

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.