cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
obermat
New Member

Flow error when user does not exist anymore

Hello Everyone, 

 

I have a flow that iterates through a MS Planner. With the List Tasks module, we also retrieve the employees assigned to a task. 
The List Tasks only returns the user id and not a name. So, we use get user profile (V2) to get the employee's name. 
This works fine if we do not have an employee assigned to a task and then the employee retires (we always import all tasks every day as it is possible that something changes on an old already finished tasks.)  The id of the retired employee is still attached to the list task even if he/she is retired. 
The flow works fine but it always says it failed because it can't finde the retired user. If the flow really fails sometime in the future, we won't notice this as it failed every day.

 

Is there a way to ignore an error for a specific task?

 

Thanks

2 REPLIES 2
gabibalaban
Dual Super User
Dual Super User

@obermat ,

You can configure the run after property of the next action, but you have to keep in mind that if you have references after that the to problematic get user profile (V2) action the error will be thrown an error again.

gabibalaban_0-1646307542464.png

 

Can you share a screen shot to understand to entire picture and to give you some advices about it ?

@obermat 

 

On the action immediately after the one you want to ignore, go to "Configure Run After" and then check "has failed". Then it should work, and go to the next action even if the previous get user profile (V2) action has just failed.

 

To see more details on exactly how to do this, check these two Microsoft resources:

 

Check if it helps.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,301)