Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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