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

Run flow designer only while updating the record

Dileep2
Tera Contributor

Hi All,

I have two flows for one custom table.

1 flow to trigger approvals while inserting the record

2 flow to triggerapproval while updating the record

but the issue now is when the record is getting created both the flows are running and triggering approvals two times.

If the record is created Create flow should trigger approvals and when the existing record has any updates then only the Update fIow should trigger approvals.

Can anyone suggest please

6 REPLIES 6

Can you please share some images of your Flows and provide some more details?

priyasunku
Kilo Sage

@Dileep2  As @OlaN  mentioned you can use single flow to achieve this requirement.

 

1. Use trigger condition as created or updated

2. As the request is just created set the initial state to open 

3. now generate the approvals for creation action.

4. check if the apporval is approved or rejected.

5. If it is approved then change the state to inprogress and trigger the update approval.

 

I have taken state as an example but for you how do you differentiate update depends on your requirement.

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful