Pass object to sub-flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I ended up re-building it into a script include instead, seems are there is some kind of issue with passing objects to sub-flows. Also rebuilt my flow action to call my script include instead, so it can still be used the same way in flows, but it is now also possible to call the functionality from scripts which was my goal. Thank you for your replies
