Post

2 followers Follow
0
Avatar

Class Task is empty

we built a workflow and are getting the following error.

An error occurred while evaluating the criteria for Workflow Rule 'Web Ben durations'.
The following error message was received: 'Field Project of object T-XXXX from class Task is empty'

I have added to the evaluation criteria, both "Not($floatingTask) " and "Not(isnull($project))" but we are still getting the error. 

Thomas Sims Answered

Please sign in to leave a comment.

3 comments

0
Avatar

"Not(isnull($project))" should do the trick, I think this will require a detailed investigation (I see a ticket is already open). 

Josh Santos 0 votes
Comment actions Permalink
0
Avatar

Thank you I hope to hear back on that ticket soon. we are getting into a busy time and in the last 2 days we've seen this error nearly 200 times. so we have to keep resetting it.

Thomas Sims 0 votes
Comment actions Permalink
0
Avatar

Looks like an order of operations issue. If another evaluation takes place before "Not($floatingTask)" then it can still error out. The solution is to make sure this gets evaluated first.

Josh Santos 0 votes
Comment actions Permalink