cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a Pipeline wait during execution

hpv
Former Employee

This can be achieved using Python script for making a pipeline to wait in the flow during execution.

c5e19047b9168a09a927d36057c2b8ace5b6b946.JPG

  • Change the value in line number 22 in the script

time.sleep(120) Here 120 is the seconds which defined to make the pipeline wait.

Note: The value needs to be provided in seconds

Phython script
Script_to_Wait_pipline.zip (723 Bytes)

Pipeline
Make Pipeline to wait_2017_03_06.slp (4.0 KB)

1 REPLY 1

Andrej_Bogdanov
New Contributor III

Hello,

I would like to inform you that we have created another solution to this issue. We created a custom snap which is called ‘Wait’, the purpose of the custom snap is to avoid writing scripts and use a simple connector/snap for a simple function like this.
You can read more about our custom snap on our website or you can use this URL:

https://interworks.com.mk/development-of-custom-sleep-snap-for-snaplogic-platform/

If you have any questions you can contact me.
Regards