Hi team!
I need to add a condition transition in the change order workflow. I use the default condition "exceed the end date", but when the analyst completes the workflow task, the condition doesn't work.
For example, the default macro condition is:
Return TRUE if Actual Completion Date exceeds Est. Completion Date
if (is_null(est_completion_date) || is_null(completion_date)) {
logf(ERROR, " null date");
set_return_data(FALSE);
return;
}
if (completion_date > est_completion_date) {
set_return_data(TRUE);
} else {
set_return_data(FALSE);
}