Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
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?
4 Comments
Tiensoon
Perhaps, you can try using the Deadline and Exception features to delay in activity ;) Summary of the concept:
Have fun!
Paul
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??
Tiensoon
Yes, you can use the "Deadline Variable" property found in "Deadline" dialog box.
Paul
Thanks. This worked! I set the 'Deadline Variable' to a workflow variable... and then set that workflow variable on a form.