cancel
Showing results for 
Search instead for 
Did you mean: 

How to parse mapper output value in python script?

Vishakha_Maan
New Contributor

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?

image

2 REPLIES 2

AleksandarAngel
Contributor III

Hi @Vishakha.Maan,

Try with the following command:

time.sleep(inDoc["wait_time"])

Let me know if this helps you.

BR,
Aleksandar.

Thank you @AleksandarAngelevski . That worked absolutely fine.