Adding wait time

SelvamM
Mega Contributor

Hi All,

 

I am trying to create the ticket in ATF ServiceNow. The flow is like we need to create the ticket once the status of the ticket is new (consider this as step 4), then we need to change the status of the ticket to "pending response delivery" by using the step "Open an Existing Record." (step 5) Then we need to wait for time so that the backend service will run and attachments will be added to the respective ticket. For that, I have added the step "Run Server-Side Validation Script (step 6) with gs.sleep(200000); if we add this step, "Run Server-Side Validation Script" looks like the form is closed. If I want to close the ticket, we need to call step 4 because the ticket number is stored in step 4. When I call the same step again, the ticket looks on New only, but I changed the status to Step 5. Can someone help me figure out how to resolve this?

1 REPLY 1

sumanthmr83
Tera Contributor

Hi @SelvamM ,

Did you get any solution for this problem? I am running into same issue.

Appreciate your help!