Passing catalog variables into a subflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2015 11:20 AM
I just read that in
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?
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2015 02:05 PM
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.