- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2025 11:15 PM
Hi community members,
I have a wired requirement where we can't use Cart on our portal because we are requesting technical services from this specific portal.
We need to have a single catalog item request form, from where user can add multiple values to some variables using MRVS and submit.
Once submitted, we need to fetch MRVS values and order individual catalog items depending upon MRVS values.
We can do this via flow but the question is "What should we show user on order summary page?". Since flow running will take some time to generate request and requested items into it.
Also, we can't use order guide as there can be scenario where we need to raise a signle catalog item multiple times with different variable values.
Any ideas or suggestion will be appreciated.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 06:08 AM
To community members who wants answer to this question:
I was able to solve this by creating a subflow.
- Create a sub flow and define input as Array. Object.
- In sub flow iterate through the objects by just using a for each loop on input.
- Create 2 new actions to add items in cart and order cart items. (Easy scripts) can be found in CartJS API doc.
- Add items to cart with conditions.
- Order cart at the end.
- When cart is ordered a request and its sys_id is returned as output.
- Set sub flow output varibale with request sys_id
- From subflow 3 dots > Copy code snippet.
- Paste code snippet of subflow in Record producer script.
- Pass input of subflow as mrvs value fetched from RP script.
- Once subflow running completes > Pass output and build URL to where record producer will redirect.
I'll write an article about it and paste a link here with all pictures.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2025 11:36 PM
Just a idea: When the main request item is submitted, extract the MRVS values and generate child items attached to this parent item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2025 04:31 AM
It won't work like that as flows or workflows for those indivisual catalog items will not be triggered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 06:08 AM
To community members who wants answer to this question:
I was able to solve this by creating a subflow.
- Create a sub flow and define input as Array. Object.
- In sub flow iterate through the objects by just using a for each loop on input.
- Create 2 new actions to add items in cart and order cart items. (Easy scripts) can be found in CartJS API doc.
- Add items to cart with conditions.
- Order cart at the end.
- When cart is ordered a request and its sys_id is returned as output.
- Set sub flow output varibale with request sys_id
- From subflow 3 dots > Copy code snippet.
- Paste code snippet of subflow in Record producer script.
- Pass input of subflow as mrvs value fetched from RP script.
- Once subflow running completes > Pass output and build URL to where record producer will redirect.
I'll write an article about it and paste a link here with all pictures.
Thanks