Identify all the tasks assigned to an Invalid User

Some tasks in the active process instance are assigned to a user through expressions. The expression has touser("abcd") and the user id "abcd" is not a valid user. At the design time we could not catch this issue, but in run time the tasks are unassigned and active. When I go to the inspector mode I see an error saying "Some referenced items could not be found. Please check the model and correct any problems.". We fixed the issue for the new instances by checking the user name using 'isusernametaken', however, we want to manually alter the problem tasks which are already live. However, I dont know how to identify the problem tasks.

Is there any way that we can identify all such kind of tasks?

OriginalPostID-243223

  Discussion posts and replies are publicly visible