Hello,
I have a conditon which has continually fails on one user. I have tried resubmitting and setting the approval type to "anyone" and "everyone" with the same result.
My flow is in its infancy, so I'm unsure if this will continue to happen with other users.
UPDATE: Reject works fine
Thanks,
James
Solved! Go to Solution.
Hi @Jimmy7,
Please add a Compose action before the Create item action, and refer to screenshot below to create the flow:
The expression in the User Name Claims column as below:
concat('i:0#.f|membership|',outputs('Compose'))
The flow would run successfully as below:
Best regards,
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Jimmy7,
What is happening in the 3rd action within the Approval branch? The response is being handled and proceeding down the correct branch but it looks as though this later action is failing.
Proud to be a Flownaut!
Follow me on Twitter at @QG_LeeJHarris
Or on LinkedIn at in/leejharris
Hi @LeeHarris,
Thanks for the speedy response!
So the second condition is to create an SP item based on get user profile V2. You where right I was getting...
All the info is legit, I can look up the user manually.
Oddly, I manualy added the SP item with the same user XXXXXX (found with no issue) and then proceded to delete the SP item. Re-ran the flow... and now it can find the user...
With the predicted volume of records being produced, this may be cause for concern as I will be unable to check all flows results. maybe an if failed?
Hi @Jimmy7,
Could you please share a screenshot of the configuration of your flow?
From your screenshot I could see that the third action inside the if yes branch of the Condition is run failed, could you please share more details about the error message of the third action inside the if yes branch of the Condition?
Please share more details and screenshots so we would try to provide a proper workaround for you.
Best regards,
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I think it could be the fact that I am populating a Person or Group column with a Display Name from Get User Profile. In this instance the user has 2 accounts (one -test account) and it looks like Flow can't distiguish between them.
Anyway, I changed the Person or Group input to the MS Form Responders' E-mail (seems more logical anyway) hopefully this will be enough.
Is there a way to add Has Failed on the entire flow? so if any of it fails I get an instant notification?
Thanks
Error message:
{ "status": 400, "message": "The specified user XXXXXXXXX could not be found.\r\nclientRequestId: 041627e2-3c43-4f10-8c31-3f730b787753\r\nserviceRequestId: 6577ba9e-50e3-8000-a44a-7a783ba34e83" }
Hi @Jimmy7
Within your Flow loop you may be able to add a parallel branch after the failing action. Then using the "Configure Run After" option in the ellipses menu you can have one branch handle a success and another branch handling a failure. Within the failure branch you could simply add the users email or id to a string array variable and then email this to yourself at the end of the process.
The below image is just to show the structure (obviously you don't want 3 Send email actions)
Proud to be a Flownaut!
Follow me on Twitter at @QG_LeeJHarris
Or on LinkedIn at in/leejharris
Hi @Jimmy7,
Please add a Compose action before the Create item action, and refer to screenshot below to create the flow:
The expression in the User Name Claims column as below:
concat('i:0#.f|membership|',outputs('Compose'))
The flow would run successfully as below:
Best regards,
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks @v-yuazh-msft
Is the expression using the first user e-mail "0#" ?
Would this be diffrent/better then to the image below?
Thanks again for all your help!
Hi @Jimmy7,
You could enter the email address directly in the "User Name Claims" column, the column require a type of below:
i:0#.f|membership|EmailAddress
Please take a try with my solution and let me know if your problem could be solved.
Best regards,
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
11 | |
10 | |
7 | |
6 | |
4 |
User | Count |
---|---|
13 | |
9 | |
7 | |
3 | |
3 |