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

async await implementation

Chakravarti
ServiceNow Employee
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
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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader