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

Can we add Workflow Activity to an 'Ask for Approval' action in Flow designer?

Community Alums
Not applicable

We are triggering RITM approvals using flow designer and want to populate 'workflow activity' field to identify which application's approval is being triggered

 

We are triggering approvals using 'Ask for approval' action where there is no field or option to map 'workflow activity' field.

In workflows, that is implemented as soon as we use any approval activity but in flow designer is there any way to do that?

7 REPLIES 7

Because asking for approval could create 1 or could create many approval records, you first need to add a step before you can update your approval record(s). 

 

If there is a chance your flow will create multiple approval records (such as when asking a group to approve) you need to add the "Look up records" action. Add your condition on this action to look up approvals where the approval is for the trigger RITM. (see screenshot below). You could add more conditions to this such as state = x. Whatever suits your business needs. 

You then need to add a "for each" flow logic. For each approval record found in the step above, and then add your update record within that.

bradleydebono_1-1708334470259.png


If you will only ever be asking for 1 approval (such as line manager approval) then use the Action "Look up record" (no "s" on the end). Use the same conditions as above. You don't need a for each loop on this and can go straight to updating the record.

bradleydebono_0-1708334214980.png

 

 

GalSh
Tera Contributor

You can use the approval reason field instead 

GalSh_0-1749040346468.pngGalSh_1-1749040385870.png

 

Ehab Pilloor
Mega Sage

Hi,

You can use Approval Reason field introduced in Yokohama release.

If you want to update any other field on approval record, add a Look up Records Action and add the necessary conditions like Approving is RITM datapill, State is Requested.

Then add flow condition for each in Look Up Records, add the Look up Records datapill, and inside it add update record for Approval table, use the Look up record from Flow condition 'for each in' (not look up records).

Update the necessary field using Update record action.

 

Regards,

Ehab Pilloor