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

Service Catalog Flow Re-triggered from second Flow calling the "Ask for Approval" Action.

Mark Brogna
Tera Contributor

I have created a Flow that creates one to many RITMs based on selected records in a catalog item’s list collector variable.  The reason I want RITMs is to have each RITM operate independently as it navigates its way through approvals and task assignments.  The first flow has a trigger of Service Catalog, where I clone the existing RITM for every item identified by the list collector.  Further, I create a related link between the RITM and a record in the custom table referenced in the list collector. Once these new RITMs are created, I set the original RITM to a state of “Complete Skipped.”

 

Example: from the catalog item, I select two Site records from a custom table:

MarkBrogna_0-1740451305671.png

 

Here is my Flow:

MarkBrogna_1-1740451327585.png

 

You will note this flow operating independently and correctly creates two RITMs and closed the original.

MarkBrogna_2-1740451367049.png

My Second Flow is designed for each RITM to go through its own unique instance of flow. This second flow has a trigger that starts when any record is created in the M2M table, relating the RITM to the Custom table record. However, if the first action is an “Ask for Approval” it seems to re-trigger the initial flow, thus creating more RITMs.

MarkBrogna_3-1740451396722.png

 

Once activated this is how my flow reacts by creating additional RITMs by triggering the initial flow.

MarkBrogna_4-1740451427138.png

 

Does anyone know how to stop this from happening?

1 ACCEPTED SOLUTION

As you are adding RITMs to M2M table, you can use lookup records action to verify if current RITM present in M2M table. if it exists, you can skip the remaining steps in your first flow.

View solution in original post

6 REPLIES 6

Is there way to identify the original RITM created other than performing a count?

As you are adding RITMs to M2M table, you can use lookup records action to verify if current RITM present in M2M table. if it exists, you can skip the remaining steps in your first flow.