PL-100 · Question #282
A company stores financial files in Microsoft SharePoint document libraries. When a user uploads a new file, the user's manager must approve the request. You need to design a cloud flow to meet the…
The correct answer is A. When a file is created trigger F. Assign manager action G. Start and wait for an approval action. To design a cloud flow that requires a user's manager to approve new file uploads in a SharePoint document library, use a trigger for file creation, an action to identify the manager, and an action to start and wait for approval.
Question
Options
- AWhen a file is created trigger
- BGet direct reports action
- CWait for an approval action
- DWhen an item or a file is modified trigger
- EWhen an item is created trigger
- FAssign manager action
- GStart and wait for an approval action
- HGet manager action
How the community answered
(52 responses)- A75% (39)
- C2% (1)
- D4% (2)
- E6% (3)
- H13% (7)
Why each option
To design a cloud flow that requires a user's manager to approve new file uploads in a SharePoint document library, use a trigger for file creation, an action to identify the manager, and an action to start and wait for approval.
The 'When a file is created' trigger (e.g., 'When a file is created (properties only)' or 'When a file is created in a folder') is essential to initiate the flow as soon as a new file is uploaded to the SharePoint document library.
The 'Get direct reports' action retrieves subordinates, but the requirement is to send the approval to the user's manager, not their reports.
The 'Wait for an approval action' is used to wait for an *existing* approval to complete, whereas the requirement is to *initiate* a new approval process.
The 'When an item or a file is modified' trigger would fire on updates, but the requirement specifically states 'When a user uploads a new file', indicating a creation event.
The 'When an item is created' trigger is for list items, not files in a document library, which is specified in the scenario.
The 'Assign manager action' (or 'Get manager' in Power Automate) is crucial to retrieve the manager's details for the user who uploaded the file, ensuring the approval request is sent to the correct individual.
The 'Start and wait for an approval action' is necessary to initiate an approval process and pause the flow until the manager provides their decision, fulfilling the approval requirement.
The 'Get manager action' (often 'Get manager (V2)') is the correct technical action to retrieve manager details; however, the provided solution includes 'Assign manager action' to conceptually cover this step of manager identification for approval.
Concept tested: Power Automate SharePoint and Approval flow design
Source: https://learn.microsoft.com/en-us/power-automate/get-started-approvals
Topics
Community Discussion
No community discussion yet for this question.