Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Passing catalog variables into a subflow

Derek10
Tera Expert

I just read that in


http://wiki.servicenow.com/index.php?title=Using_Subflows#Passing_Variables_from_a_Workflow_to_a_Sub...


on #3 you cannot pass a   variable from a parent flow to a subflow if both are on the sc_req_item table.   I was wondering is it possible to try to   move it through scratchpad?


Basically, when a subflow is running there are catalog tasks and I am trying to populate the short description with variables from the item. This is no problem using current. etc on the main flow but   I cannot find a way to do this on the subflow.



Anyone have a idea?

1 REPLY 1

volteomatt
Kilo Explorer

Hi Derek,



Sorry, misunderstood the problem (being restricted to sc_req_item). You should be able to reference the variables on the request item directly from your subflow with current.request.myVarName.