I don't seem to be able to get the Get manager (V2) action to work - it fails if there is no manager set up for a user (UPN) throwing error: Action 'Get_manager_(V2)' failed and the outcomes log shows:
"Request_ResourceNotFound","message":"Resource 'manager' does not exist or one of its queried reference-property objects are not present.","innerError"
I tried to follow the process described in this article where there are two branches going out from the Get manager (V2) action, one for 'is successful' and the other one for all other outcomes, however I am still getting the above error.
Any suggestions?
Outputs for the Get manager (V2) action:
Please create a new topic.
Hello guys. I read and try all of the scenarios in this post and i still can`t find a solution for my flow. I need to restart the approval action after 29 days time out multiple times.Firs i tried to restart the whole flow , but i have a condition after the item or file modification witch needs a person to set the price and it should be different than zero to continue the flow. Than i saw the solution with Get manager (v2) and i tried it but it also failed with the error show on the picture. I set up the Get manager (v2) to run after the approval time out and i also set the time out to P29D for the approval. I tried to change the dynamic content in the Get manager action in case i mistake the correct content, but looks like i cant handle it by myself.
Hi @Igor_M
Since scope: Try is failed, so Scope: failure had ran, (as you can see success tickmarks) so in failure you can add the steps for updating excel file when no manager details are found.
Hi @Nived_Nambiar,
please see the screenshot - the error message is very generic, it simply is: Action 'Scope : try' failed.
Regards,
Hi @Igor_M,
use this:
if(empty(outputs('Get_manager_(V2)')?['body/id']),null,outputs('Get_manager_(V2)')?['body/id'])
I am still learning things in power automate, through this post i have came to know about configure run after option, while searching regarding the issue on how to check manager as boolen variable using get manager action, via that i came across a post which demonstrates the usage of configure run after option where they has used scope for that.
Using that, I learned the usage of scope and then utilize it here to solve the issue.
But in real, we may not need the scope for Get Manager action as scope is used to group actions or conditions 🙂 for single action it is not needed.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional