Article
article
Reads:
1663
Score:
Problem
A Forum reader recently asked:
"I was wondering, how could I add a delay(sec) function in a rule action in Policy Builder for an IDM driver?"
And here is the response from Father Ramon ...
Solution
you can make an extension function call to the java.lang.Thread.sleep(1000), like this:
<do-set-local-variable name="sleep-result"> <arg-string> <token-xpath expression="java.lang.Thread:sleep(1000)"/> </arg-string> </do-set-local-variable>
In versions of IDM before 3.5, you would need to map a namespace instead of putting in the class name directly.





0