You are viewing limited content. For full access, please sign in.

Question

Question

No user was found in Active Directory [0247-WF1] - What activities can I add to bypass this error and continue the workflow without the Active Directory info?

asked on April 18, 2014

If the user ID was input incorrectly into the template, or the user is no longer with the company, the workflow will terminate because the user is not found in the Active Directory.  Can I add something to the workflow to allow the workflow to continue anyway?

0 0

Answer

SELECTED ANSWER
replied on April 18, 2014

You can add a Try-Catch around the activity reporting the error (is that a Find User activity?). In the Catch branch, you can add any activities you need to set the behavior you want for handling this case)

0 0

Replies

replied on April 18, 2014

I might have found the solution.  I'll try a Try-Catch activity.

replied on April 18, 2014

You can use the Try-Catch activity to catch that specific error and then act on it.

0 0
replied on April 18, 2014

So, if the Try Branch succeeds without an error, then it will perform the Find User activity?  If it fails, I can enter alternate activities?  How will this work within a For Each Value activity?  Will it Try-Catch for each value, or if one value fails will all values go through the catch branch?

0 0
replied on April 18, 2014 Show version history

Are you doing a For Each over each document and checking the user ID? You could put the Try-Catch inside the For Each and do the operations that you are expecting to fail inside the Try-Catch. Include the entire "success" path that you want to see. If nothing goes wrong, it will work fine and go to the next loop iteration. If it hits the Catch Branch, then it will only fail for that particular run of the loop. You can then do whatever you want inside the Catch Branch such as sending an email, and routing the document for correction.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.