Approval Workflow
The Approval Workflow is a ready-made manager queue screen for Power Apps: each request shows the requester, type and a colour-coded status badge, with Approve and Reject buttons that update the record in place. Drop it on a screen, bind it to your data source or an approval flow, and you have a working review queue.
Approvals
Alice Martin
Leave request
Bob Chen
Expense $420
Clara Diaz
Purchase order
YAML source
Preview — full code with PRO# Approval Workflow — PowerBlocks (PRO Screen)
# A manager approval queue: a list of pending requests with a status badge and
# Approve / Reject buttons that update the record.
#
# NOTE: screen-level YAML may need a control-version tweak on paste; let Studio auto-upgrade if asked.
#
# STEP 1 — In Screen.OnVisible (or App.OnStart):
# ClearCollect(
# colApprovals,
# { Id: 1, Requester: "Alice Martin", Type: "Leave request", Status: "Pending" },
# { Id: 2, Requester: "Bob Chen", Type: "Expense $420", Status: "Pending" },
# { Id: 3, Requester: "Clara Diaz", Type: "Purchase order",Status: "Approved" }
# );
# STEP 2 — Paste onto a blank screen (Tree view -> Ctrl+V).
# … full component definition unlocked with PROThis is a partial preview. Unlock the full component →
Common use cases
Manager review queues
Approve or reject leave, expense or purchase requests from a single, scannable list.
Light approval flows
Pair the buttons with a Power Automate approval flow or a direct Patch to your data source.
Status dashboards
Show pending, approved and rejected items with consistent badge colours at a glance.
How to use Approval Workflow in Power Apps
- 1Add the colApprovals collection to Screen.OnVisible using the snippet in the YAML header.
- 2Choose your locale (EN or FR) and click "Copy YAML".
- 3Paste the control onto a blank screen in Power Apps Studio.
- 4Bind the gallery to your data source and point Approve/Reject at your Patch or approval flow.
Tip — The status badge uses Switch() on the Status field — add or recolour states by editing the Switch, and keep the same palette as your Badge component for consistency.