gs.sleep in workflow

Community Alums
Not applicable

Hi all,

 

Iam not able to request an item after adding gs.sleep in the corresponding workflow. Please find the screen shot.Is this issue caused by gs.sleep function?Can someone help me with this?

 

Untitled.png

 

Regards,

Keerthi

1 ACCEPTED SOLUTION

Hi Kirti,



You can get dynamic values   by using script in Timer Activity .


Timer Activities - ServiceNow Wiki



Thanks,


Darshan


View solution in original post

5 REPLIES 5

harikrish_v
Mega Guru

Hi Keerthi,



Instead of using gs.sleep, I would suggest that you use a timer activity in the workflow for this.



Thanks & Regards,


Hari


Community Alums
Not applicable

Hi vijayan



No of milliseconds is a dynamically generated.So i wont be able to use Timer here



Thanks and Regards,


Keerthi.


Hi Kirti,



You can get dynamic values   by using script in Timer Activity .


Timer Activities - ServiceNow Wiki



Thanks,


Darshan


Community Alums
Not applicable

Hi Darshan,


Thannx alot   I didn't look into the other drop down values.I was working on this since morning.



Thanks and Regards,


Keerthi.