- Introduction
- Démarrage
- Modélisation des processus avec BPMN
- Compréhension de la modélisation des processus
- Ouverture du canevas de modélisation
- Modéliser votre processus
- Alignement et connexion des éléments BPMN
- Autopilot pour Maestro (aperçu)
- Référentiel de processus
- Modélisation des processus avec Case Management
- Concevoir un schéma d’entité de cas persistant
- Définition des clés de cas (système vs. externes)
- Établir des contrats de tâche d’E/S et de réécriture
- Règles de sortie et fin d'étape antérieure
- Modélisation des étapes principale et secondaire
- Déclenchement d'un incident depuis Data Fabric
- Implémenter des personas et des autorisations au niveau de l’étape
- Définir des SLA et des règles d’escalade automatisées
- Configuration d’une boucle de révision (nouvelle entrée)
- Gestion des instances de cas en direct: suspendre, migrer et réessayer
- Dictionnaire des composants de gestion de cas Maestro
- Process modeling with Flow
- Démarrage
- Concepts de base
- Node reference
- Build guides
- Orchestrate an AI agent
- Call an external API
- Process incoming emails
- Build a Slack notification workflow
- Add human approval to a workflow
- Handle errors
- Meilleures pratiques
- Référence (Reference)
- Implémentation des processus
- Débogage
- Simulation
- Publication et mise à niveau des processus agentiques
- Scénarios de mise en œuvre courants
- Extraire et valider des documents
- Opérations de processus
- Surveillance des processus
- Optimisation des processus
- Informations de référence
Guide de l'utilisateur de Maestro
What you'll build: A process that pauses at a review step, sends an approval task to a designated person, and continues on the correct path once they respond, approved or rejected. This pattern is the building block for any process that requires a human sign-off before proceeding.
This guide uses the Quick Form task type, where you build the approval form directly on the Human Task node.
Éléments requis
- A UiPath Automation Cloud account with access to Maestro Flow.
Nodes used
- Manual Trigger: starts the process on demand
- Human Task: pauses execution and creates an approval task for the assigned approver
- Terminate: ends the rejected path cleanly
Étapes
1. Build the pre-approval steps
First, set up the nodes that run before the approval point. Create a new flow and add the nodes that fetch or receive the data the approver needs to review, then transform it into a readable format.
2. Add a Human Task node
Add the node that creates the approval task and pauses the process.
- Drag a Human Task node from the UiPath nodes section onto the canvas.
- Connect it to the last pre-approval node.
- In the properties panel, configure the task:
- Type: leave set to Quick Form.
- Task Delivery: review the admin-configured channels where the task is delivered, such as Action Center or Slack.
- Assignment criteria: set the approver as a single user, a variable-based custom assignment, or a group assignment strategy such as round robin or workload distribution.
- Schema: define the form. Add input fields for the read-only context the approver reviews (for example, the invoice amount, the requester name, and a link to the supporting document), each bound to a process value such as
$vars.manualTrigger1.output["amount"]. For this scenario, add two outcomes: Approve and Reject. - Priority: set to High if the task is time-sensitive.
3. Branch on the approver's response
The Human Task node has one output handle per outcome you defined, so you route each outcome directly.
- Connect the Approve outcome handle to the continuation of your process (for example, a system write or a notification).
- Connect the Reject outcome handle to a Terminate node to end that path cleanly.
4. Test and debug
You don't need a real approver to test this flow. Choose one of the following approaches.
- Run in debug without mocking: Debug the flow and let it reach the Human Task node. This creates a real task that you can complete inline, without leaving the debugger, so you can verify both the Approve and Reject branches using the actual task experience.
- Use Mock output: Simulate a response instead of completing a task.
- Select the Human Task node and open Mock output in the properties panel.
- Enable the mock toggle.
- Set
statustoApprove(orRejectto test the rejection branch). - Debug the flow and verify the correct branch executes.
- Remove the mock before publishing.
Résultat
Your process pauses at the Human Task node, sends the approval form to the designated person, and routes execution on the correct path once they respond. The approved path continues the automation; the rejected path terminates cleanly.
Extend this flow
- Notify the approver: before the Human Task node, add a notification step (email or Slack) to tell the approver that a task is waiting.
- Escalate on rejection: on the Reject path, instead of terminating immediately, invoke an Agent or route to a second approver.
- Collect the approver's notes: add an output field to the schema (for example, a comment) and read it after the node with
$vars.approval.output.comment.