catalog item approval counts and approver should dynamically change by using only one workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 11:30 PM
Hi,
I have requirement like only one workflow will be trigger for multiple catalog items in order guide and there should be in differentiations in approval levels.
for ex, based on catalog item approval counts and approver should dynamically change by using one workflow.
can anyone help me with this,
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 01:04 AM
For catalog items you have a hierarchy of how the workflows/flows are applied.
A single workflow can't, or rather shouldn't handle multiple Catalog Items/RITM's.
You are probably looking for a Request flow that is then applied to all future RITM's created.
Typically a request flow would be handling things like "checking the total price of the entire order" (multiple items).
And then based on the total price you might do different things.
The case you are describing is similar, with the only problem being that you want to count the number of approvals already happening on the RITM's.
The request flows run before the RITM's flows are running tho. so you would have to find a way to calculate the requirements for the approvals before the RITM's have sent out their approvals.
In this case, I would reconsider the requirements that are being set by the customer.
Try considering a different approach to the approvals. It's a bit strange to change approvers based on amount of approvers as a total through out multiple items.
They should try to define what's really important here and make this requirement as simple as possible.
Else you end up with a nightmare to maintain in the future 🙂