Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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