Limitation when converting Workflow and Flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hello All!
I am in running into what seems to be a limitation in flow designer, while trying to convert an active workflow into a flow.
See in the WorkFlow (this is one for approvals), i am able to add advanced script to each step. For one approval step I have scripted to go through every location record selected for the 'locations' variable/question (which is a list collector) in the catalog item. The the script will go through each selected location to get the manager for that location, and prompt them for approval. It makes sure to not prompt the same person twice, and to also not move forward until all prompted users have responded with their decision. BUT simultaneously there is a timer going for 2 days. If that two day timer is met, and not all decisions have been received from the prompted approvers, then it moved to a new/another approval step to prompt the higher-up manager for each location selected for the item.
In trying to move this to being all in workflow studio, I can't seem to figure out how to have the timer set on the initial approval, and for it to know to re-review the data and prompt others at a certain time passed. Also, I am not sure the best way of grabbing these users and adding them to the ask for approval step - as this is wanting me to select certain people, and not peopleS (and even if I can add more than one person, not sure how to make it skip asking the same person twice if the same person is managing both locations selected.)
I am attaching a picture graph of what I want to happen so it may be easier to understand what I am needing. I am grateful for any help and advice!
Thank you community!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I spent years getting comfortable with Workflow Editor, mostly working on Catalog Item workflows, and resisted up until this year switching to Flow Designer / Workflow Studio. There are many things that are so much more difficult to do with Catalog Items, even those that were extremely easy before (update the value of a Catalog Item variable for one) but all-in-all I have discovered a couple of things:
- There is likely a way to do it in Workflow Studio, though it may take a custom Action and/or many steps/activities to accomplish, and
- I have discovered, much to my own surprise, that I actually like and prefer this interface/tool to Workfllow Editor.
I don't have a ready example of multiple approvals. In one case I generated approval records from a dynamic JSON sent in from an integration, and used the same/similar script in WS to do the same. Even if you could re-create this with a for each activity and appropriate activities in the loop, it may be best/easier to put this in a custom action, called from the flow/subflow then a wait for duration activity to check on them.
If you can mock up a simiplified working example in Workflow Editor in a PDI or wherever, or post the scripts and activities of that, I can try to mock up the same in WS to get you started.
