How can I pass variables into Subflows from CatalogItem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2018 07:43 AM
Hi everybody,
I have a special question, dont know if it works at all, but maybe somebody has a brilliant idea.
Problem:
I workflows, a core workflow and some subworkflows, maybe 2 or 3 layers.
Like that CatalogItem -> Core Workflow -> Subworkflow Layer 1 -> Subworkflow Layer 2
And I want to use activities in Subworkflow Layer 2, which do rest calls ect...
These activities need variables, which should be configurable in CatalogItem.
While ordering a catalogitem from shop, the configured input variables should be passed from catalogitem through core workflow through subworkflow layer 1 to subworkflow layer 2.
This is important, because the persons who will work on workflows are not the same who work on catalogitem (different teams) and the catalogitem guy may just choose an already existing workflow and just want to see, which variables he need to configure (set value of email body for example) without having a look in the script activities in worklfow directly.
That would definitely increase our productivity and reduce error massivly.
I just tried to define a input in subworkflow Layer 2 "MyInput" u_myinput and passed it while calling core workflow. But that u_myinput is not empty in subworkflow Layer 2 because i dont pass it from subworkflow Layer 1 and dont pass it from core workflow.
Does somebody have a brilliant idea how to pass inputs from catalogitem to lowest layer of subflows without passing it from each workflow to an other?
many regards
- Labels:
-
Personal Developer Instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2018 08:55 AM
Hi,
Please see this documentation on how to pass a variable from a workflow to a subflow:
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2018 09:03 AM
Hi allen, this is not what i want to do.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2018 09:49 AM
Hi,
You mentioned in your post catalog item, so without assuming you were talking about a RITM...I gave relevant documentation to assist you. Catalog item can be numerous things.
If the workflow is on the RITM table, then it is not possible to pass variables to subflow as per the documentation I showed...otherwise...you would follow the documentation above to do it.
Thanks!
Please mark post as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2018 10:54 AM