Approval description in Flow Designer - Ask for Approval

sas1
Kilo Expert

In Ask For Approval action, how and when can we enter the "Short Description" of the approval activity? 

In our process, this description is visible in multiple area whether in the native UI, portal, mobile, and email notifications. 

Earlier we used the workflow to generate approvals and we are able to update the short description during the time of record creation but in FD, I am not finding how we can do that before that fact (before the record get visible / emails triggered etc).. I need to have the short desc. updated at the time of record creation and before the "approvers" get to see it.

Also a side question,  during the flow, is there a way to go back to a previous step in the flow and re-execute from that step?  Example flow execution is in step 5, condition is A or B,  if B, we need to flow to go back to step 2. How can we achieve the "go back to step n" part?  

Thank you!

Sara

1 ACCEPTED SOLUTION

Hi,

you cannot include it from there unfortunately

you need to use before insert BR on sysapproval_approver table

Condition: current.sysapproval.cat_item.name == 'Your Catalog Item Name Here'

Script:

current.description = 'Your Message Here';

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sara,

Are you referring to setting the comments field on the approval record?

I believe OOB you cannot set any other field on Approval record other than the ones given

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks for your response!  No, not the comments fields. 

In Workflow Editor, its the Name field of the approval activity.  We copy that to the approval short description in table sysapproval_group.

But I am not able to populate this name/short description using FD during "Ask for Approval".. 

Thanks,

Sara 

Hi,

please provide flow designer screenshot for that action you are trying

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Pls see attached.  Here I do not see an option to update any fields anyways. And it is in this step where i'd like to include the description:

find_real_file.png