The CreatorCon Call for Content is officially open! Get started here.

Flow Question: Withdraw Request in Middle of Flow

jmiskey
Kilo Sage

We have a pretty basic Catalog Item Flow that does the following:

1. Ask for Manager Approval

2. Ask for Data Owner Approval

3. Automatically add user to AD groups

4. Wait 31 days

5. Automatically remove user from AD groups added up in step 3

 

Note that step 4, we have set a Stage value of "Active Access Period".

 

We had the standard "Cancel Request" option on this Catalog Item, so users could cancel requests.  However, if they were to cancel the request while it was in that 31 day "Active Access Period", the access that they were granted would NEVER get removed from the account, as step 5 would never happen.

 

We had similar situations in some of our old Workflows (using Workflow Editor).  We replaced the "Cancel Request" button with a special "Withdraw Request" button, which just set the RITM to a State of Withdraw, and NOT deactivate the RITM.  Then, our workflow had a main branch off the Begin button with a "Wait For State to be set to Withdraw", which would remove the access if that condition were ever met.  

 

How can I accomplish the same thing using Flow Designer (I would love to continue to use the "Withdraw Request" button we created for this purpose)?  Can something be built into my current Flow, or do I need to create a second Flow related to this RITM request?  Note that access only needs to be removed if the Withdraw Request button is clicked while the Stage is "Active Access Period".

 

Thanks

10 REPLIES 10

As I already mentioned, I tried what you suggested in step 1 already. 

If you choose "Record Updated", you cannot select the "sc_req_item" table - it is not an option!

I am guessing maybe since they have the "Service Catalog" trigger option, they do not allow you to choose "sc_req_item" for Record Updated.