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.

1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (1 votes, average: 5.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...
Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

No Comments
By: coolguys
Feb 20, 2008
9:40 am
Reads:
1,684
Score:
5