Pass object to sub-flow

perosterber
Tera Contributor

Hello,

 

I have a script action which parses MRVS objects and return a html table string. This works when needed for flows. 

I wanted to use this also in a email script, so I created a sub-flow which will call the flow script action. (as I cannot call the flow script action directly from a script to my knowledge )

 

The problem is that the sub-flow seem not be able to receive the current.variables.<MRVS>. If I gs.log(current.variables.<MRVS>) it will print the information. But if I look in the flow context of the receiving sub-flow the values are null. What am I missing?

5 REPLIES 5

Sorry - flow action.
I have a functioning flow action which takes an array.object and returns a string. I want to be able to use this even outside a flow, so I have created a sub-flow which I am trying to call based on the code snippet. I am trying to call it from a email script and I am trying to pass a variable set from a RITM, this variable set I can log using gs.log and it shows expected data, but the sub-flow is getting no in-data (see attached pics). I dont understand why nothing is passed.