Article
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.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 5124 reads


0