Hello,
I have a flow that send an e-mail to Approvers of an item and recently got a request to create also flow for Controller assigned to particular Country. Approvers are populate by person who is creating an item but Controller is auto-populated by another flow from other list where I have mapped which Controller should be assigned to which Country.
Problem is that when I tried to apply exactly the same logic as for Approvers flow, it fails with below message:
(Delay 30 second is addes so other flow have some time to auto-populate Controller name into the list)
I noticed that in Approvers flow I have expression 'items':
while for Controllers when I pick up the field it's always 'triggerbody':
That's the only difference between these 2 flows. The one for Approvers is working, the one for Controllers is not (as per screenshot with error above). Perhaps because Controller is mapped I should add something else (except of delay)?
I appreciate any help!
Thanks a lot!
Cheers
Iweta
Hello,
If I understand correctly the flow is failling because the variable 'FinancialController' is empty.
The value of this variable depends of the 'Approvers flow', that run before, and even with the delay action, the second flow don't have the value of variable when needed.
For that reason, I suggest you implement a If condition to verify if the 'FinancialController' is present.
Please let me know if I was able to unblock you.
Ana Almeida | Power Platform Support Engineer
Hi @analmei,
Many thanks for you reply but I am afraid it is not the case. Field Financial Controller gets correctly populated from another list. It is not empty, I can assure your. Therefore, I don't understand why flow sees it as empty...
Hello,
Thanks for your reply.
What is the 'Financial Controller'? Is it a record in SharePoint?
Can you make sure the Email field is filled?
If possible, can you show the definition of 'When a new item is created' and 'Apply to each2'?
Ana Almeida | Power Platform Support Engineer
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
User | Count |
---|---|
77 | |
19 | |
17 | |
14 | |
11 |
User | Count |
---|---|
133 | |
34 | |
31 | |
31 | |
24 |