cancel
Showing results for 
Search instead for 
Did you mean: 

Executing a class method with time interval...

Former Member
0 Kudos

Hello experts,

I have a class method which I have to be calling until it returns TRUE, I don't want to loop that method and ask 'X' times per second if result is TRU, I would rather to set a time intervat and ask every 'N' seconds where 'N' is the number I defined in the time interval.. can anyone help me out?

Any code example will be appreciated..

Thanx in advance...

JV

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use the timed trigger UI element available in WD.

Set the delay property to repeat it.

OnAction try to do the check that the instance of your class return true/false.

Once your condition is met set the delay to 0.

Regards

Ayyapparaj