Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
DavidETL
Contributor III
Contributor III

tSleep milliseconds with iterate and variable pass

Hi all 

 

i came across this thread https://community.talend.com/t5/Design-and-Development/resolved-sleep-for-milli-seconds/m-p/86851#M4... which explains how to replace tSleep with tJjava and have a millisecond sleep.

 

The challenge I have, is I need to ping an API every 80 milliseconds but in the API calls use a variable from a tMap earlier down the line. When using tsleep the variable can be passed/called but when using the tjava with the millisecond code it does not work.

 

Any ideas?

 

thanks

 

dv

 

 

Labels (5)
1 Solution

Accepted Solutions
DavidETL
Contributor III
Contributor III
Author

Hi xdshi

 

I have attached a picture below as have just finished up testing today. I had to place t_java, and have iterated on both sides. It is now working correctly.  


Regards


David

 

0683p000009M4b4.png

View solution in original post

2 Replies
Anonymous
Not applicable

Hello,

Did you have to change it to tJava? What's your custom code in tJava component?

Best regards

Sabrina

DavidETL
Contributor III
Contributor III
Author

Hi xdshi

 

I have attached a picture below as have just finished up testing today. I had to place t_java, and have iterated on both sides. It is now working correctly.  


Regards


David

 

0683p000009M4b4.png