Flow - Requested Item - Loop back to previous step if Approval is rejected / If statement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2023 06:35 AM
Hello
building out a flow for requesting stock from the IT procurement team.
Basic flow is that we request stock, first catalog task is for IT procurement team to get the stock from vendor, Once completed, the next catalog task is opened for End user Computing (EUC) team to receive the stock and enter it into CMDB and store it away.
I have an approval at the start of second Catalog task to allow the EUC team to say whether or not the stock is what they ordered. if its correct then they approve the ticket and they enter it into CMDB and eventually close the task which closes the requested Item / Request.
if it's not correct (happens often) then I want them to reject the task and I want the flow to go back to an earlier step that basically reopens the first catalog task and tells them to fix up the order and send it again and then the flow will continue on again asking for approval of a new catalog catalog task to enter in stock by EUC.
All awhile, the Requested Item, is getting work notes adding what's happening.
How can I loop back to a previous task in the flow?
any better ideas of how to do the IF statement of if the stock is the correct type
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2023 06:47 AM
Hi Peter,
Are you using flow designer or workflow to achieve this requirement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2023 06:48 AM
Flow designer (Flow) which is triggered by a Catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2023 07:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2023 07:11 AM
Yeah i just learnt about this and had a quick play
Right now its basically
Create Task 1
Do the following Until
Wait for Closure of Task 1
Create Task 2
Ask for Approval
'If'
request is approved then wait for closure of task 2
'Else'
Set task 2 to 'Closed incomplete'
Set Task 1 to 'In Progress'
End if task 1 and Task 2 are closed Complete
set requested Item to 'closed complete'
Does this look ok?