How to parse mapper output value in python script?

Hi, i want to parse mapper output value in script python snap For e.g the mapper has 1 column i.e. wait_time and the value in it is 5(it’s dynamic). Now I want this value to be parsed in time.sleep(5).
I want it to be dynamic?

Hi @Vishakha.Maan,

Try with the following command:

time.sleep(inDoc["wait_time"])

Let me know if this helps you.

BR,
Aleksandar.

1 Like

Thank you @AleksandarAngelevski . That worked absolutely fine.

1 Like