Calling UI action from flow designer

Anh
Tera Contributor

Hi

Is there any way to call UI action from flow designer?

I want to call action Send Notification (in the picture below) to a flow but can't find any solution.

Please help.

 

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

UI Action functions on the front end i.e. the script within that is triggered when somebody clicks on that button and it won't trigger on its own.

Since flow designer is something which works in server side and in background so it won't be able to call the UI action script from flow designer.

Regards
Ankur

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

View solution in original post

12 REPLIES 12

Steven Young
Tera Guru

not sure why you would want to call a UI Action.

what you could do is move the script to a script includes.  Change the UI Action to call the script includes, and your flow could call the same function in the script includes.

 

Sudhanshu Talw1
Tera Guru
It is possible to call a flow designer action via UI ACTION. ARE YOU LOOKING FOR IT? THANKS SUDHANSHU

I want it other way: trigger UI action FROM flow designer.

 

When I have things fulfil conditions in flow designer, I want user in outreach's list receive an notification (the result of "Send Notification" UI action)

That action is so complicated that I can't recreate by using action in flow designer:

It will send an email/moblie push to users in list of Outreaches form, with templates which is configured in other tables, which one to send is based on user's choice.

These features are from "Emergency Outreach" plugin, in case you want to look into it specifically.

I tried copy the code from UI action to flow action but nothing happenned.

 

I think calling UI action from flow designer would be ideal solution, but if there's any way to help me achieve similar result then it's OK too.

UI actions are based on interactions I don't think that you can achieve it. Mimic the same thing via flow designer. Thanks Sudhanshu