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

Call one flow action from another

ShAn21
Tera Guru

Hi Team,

Is it possible to one flow action from another flow action?

Seems like there is no configurable option for custom action. Only OOB Servicenow actions can be selected.

Please let me know if you have any information on this.

 

Thanks

1 REPLY 1

yesubabu Jonnal
Tera Contributor

Hi ShAn21

we can use the out-of-the-box (OOTB) fd_data object to pass output values from one action to another within Flow Designer.

In your example:

  • Action 3 creates/updates the mobile notification device.
  • Action 4 creates/updates the email notification device.
  • You want to pass both outputs to Action 7, which creates/updates the notification subscription.

Your sample code using fd_data is spot on:

var email = fd_data._3__create_or_update_record.record.sys_id;
var mobile = fd_data._4__create_or_update_record.record.sys_id;
var field = [email, mobile];
return field;

Just make sure the action numbers (_3__, _4__) match the actual action identifiers in your flow. You can use Ctrl + Space after typing fd_data. to explore available outputs dynamically.

Thanks for sharing this! Definitely helpful for others working with Flow Designer.

 

Please mark it as Helpful if its advantage on script part