Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

async await implementation

Chakravarti
ServiceNow Employee

Hi, 

In glide scripting, is it possible to have implementation like async await?

 

When user clicks a UI Action, it does 3 to 4 long running tasks sequentially. As these long running tasks are independent, is it possible to trigger all them at once and await for their completion?

 

Thanks,

Chakri.

1 REPLY 1

Ankur Bawiskar
Tera Patron

@Chakravarti 

why not move the logic to sub-flow which can have this sequential activities and let this sub-flow trigger from UI action click?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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