What's the best way to delay an activity for X days?  I tried using Thread.Sleep in the Java Bean but when another process thread was started it kicked out.

Or can I dynamically schedule an activity to start on a particular day/time?  

  • No labels

4 Comments

  1. Perhaps, you can try using the Deadline and Exception features to delay in activity ;) Summary of the concept:

    1. Create a deadline for Activity 1. When the deadline is reached, an exception is triggered.
    2. The exception leads to the start of Activity 2, which in a way, is delayed by the deadline.

    Have fun!

  2. Thanks for the info. I currently have numerous Reminders / Notifiers that use the deadline / exception feature. 

    However in this current scenario the user inputs the delay amount. Can I set the Delay in the exception to a workflow variable??

    1. Yes, you can use the "Deadline Variable" property found in "Deadline" dialog box.

      1. Thanks. This worked! I set the 'Deadline Variable' to a workflow variable... and then set that workflow variable on a form.