Hi guys,
I'm new to Power Automate coding, so I couldn't get past this obstacle for a few days.
The use case: Sending a birthday notification email to managers and company directors
Datasource is a large SharePoint list containing information about employees and their direct managers. Who should receive the notification email directly? Each employee works for a different, let us call it a subsidiary. These subsidiaries are defined in a second SharePoint list, and each employee is pointed to a subsidiary via a lookup field in the employee list. For each subsidiary, a set of people is defined in a people field (multiple coyotes possible) to receive the mail notification as cc recipients.
My question is: What is the best practice for retrieving the item information/mail addresses in the people field from the lookup list? Is the people field a good way to solve this at all?
My flow looks like this at the moment:
At the moment im stuck with the unique id from the subsidiary list. "Get item mail" second last action. How can I get the unique id from the item through the employee list?
I'm able to find the id but not the unique id of the field. Or is that the same?
Thanks for your support,
Felix