Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I have a task where a user enters an expiration date as a string. On the activity transition it is converted to and stored to a wf date variable or it throws an exception to the user to enter the correct format.
Next I want the workflow to wait until that date until it proceeds to the next step. What would the best technique be?
I've created a Sync robot that synchronizes on an expression.
submitted too early....
the code in the sync robot is
//Get Todays Date
java.util.Date todaysDate = new java.util.Date();
if (expirationDate.equals(todaysDate))
result= "go";
else if (expirationDate.before(todaysDate))
result= "go";
else
result= null;
So if the date has already past or is today it will go to the next step, otherwise it waits. What I'm not sure if this will have a negative impact on our system's performance. Any thoughts?
Thanks,
Steve D.