Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Issue in flow designer

Sagar Rd
Tera Contributor

I have created a flow designer on the incident form. Now I need to reload the incident record once the flow designer execution is completed.

 

Thanks,

Mourya

6 REPLIES 6

maroon_byte
Mega Sage

What is the trigger of your flow?

I trigger it by button through UI action

Okay, so you are using UI Action to execute the Flow (using sn_fd.FlowAPI.executeFlow)

. If the flow is doing its job but the form is not refreshing, then try adding below line at the bottom of the code or after the update statement.

 
action.setRedirectURL(current);

Harish KM
Kilo Patron
Kilo Patron

Hi @Sagar Rd please provide more details on the use case what is the need to reload when flow is completed?

Regards
Harish