how to wait till group created in servicenow group table.

Pranay Verma
Tera Contributor

Hello Guys,

 

In my integration project i am creating group in Onprem AD using flow designer but same group is creating in servicenow after 2 mins using listener and we are updating expiry field in servicenow group table in that particular group record.

 

The scenario is if we turn off the listener then group will not create in servicenow after 2 min but it will create using schedule job so i want to hold the flow till group gets created in servicenow side then have to update the expiry filed.

 

so please let me know how to provide wait until condition in flow designer.

6 REPLIES 6

Community Alums
Not applicable

Hi @Pranay Verma,

I would recommend to increase the wait for condition to 5 mins and then validate the group.

Also to this we can have other approaches like sending a event to get it processed and then update the group via script action.

 

I hope this will help you solve your issue, try giving a thumbs and accepting the solution.

 

Thanks & Regards,

Sanjay Kumar

 

Hope this helps.

 

 

Community Alums
Not applicable

Here is the link to create a Event and then writing a script action for the Event-

https://www.servicenow.com/community/developer-forum/create-event-equivalent-in-flow-designer/m-p/16...

 

Thanks,

Sanjay Kumar