- Vue d'ensemble (Overview)
- Démarrer
- Concepts
- Utilisation de la UiPath CLI
- Guides pratiques
- Revenus CI/CD
- Référence de commande
- Vue d'ensemble (Overview)
- Codes de sortie
- Options globales
- agent codé uip
- encodeur UIP
- uip ancrage dans le contexte
- UiPath Docsai
- Fonction UiP
- garde-fous UiP
- configuration llm uip
- uip llm-passerelle
- Création uip maestro
- Registre Maestro uip
- uip model-hub
- uip ont
- Tâches (Jobs)
- Dossiers
- Processus
- ROI du processus
- Paquets
- Machines
- Utilisateurs
- Rôles
- Licences
- Flux
- Pièces jointes (Attachments)
- Sessions
- Calendriers
- magasins d'informations d’identification
- journaux-audit
- paramètres
- Actifs
- Compartiments
- Compartiment-fichiers
- Bibliothèques
- Files d'attente (Queues)
- ROI de la file d'attente
- éléments de la file d'attente
- Déclencheurs (Triggers)
- Webhooks
- Activités - Rechercher
- activités get-Default-xaml
- Analyser
- liste règles-analyseurs
- Construire
- Nettoyage
- Installation de entités data-fabrics
- liste des entités data-fabrics
- Diff de fichiers
- Get-Library-Object-Repository
- Récupérer le référentiel d'objets
- Init
- liste des instances
- Créer un package
- Vérification des paquets
- Installation des paquets
- Versions de paquets
- Publier
- Distant
- restore
- exécuter, déboguer et amp; Exécution
- paramètres
- Début de Studio
- Recherche de modèles
- entité ajoutée aux données de test
- Ajouter une file d'attente de données de test
- variation d'ajout de données de test
- TM
- UIA
- Valider
- exemples de workflow - Obtenir
- liste d'exemples de workflow
- uip resources
- tâches UIP
- pièce jointe
- Champ personnalisé
- Défauts (Defects)
- Exécutions
- exporter-tâches
- Migration
- Libellé Objet
- Créer un package
- scénarios-perf
- groupes-de-charge-scénarios-perf
- données d’exécution de perf-scenario
- rapport de scénarios de performances
- Projet
- autorisations-projet
- Invites
- Rapport
- Prérequis
- Résultat
- Exécuter
- Planifications (Schedules)
- Étendues
- Journaux de cas de test
- Cas de test
- Ensembles de tests
- Journal des étapes de test
- Utilisateur (User)
- Attendre
- Traçages UIP
- Commentaires sur les traces UIP
- Migration
- Référence et assistance
débogage bpmn uip maestro
Chargez un projet Maestro BPMN local (ou un fichier.bpmn) vers Studio Web et exécutez une session de débogage côté serveur avec des mises à jour du statut en streaming à l'aide de `uip maestro bpmn debug`.
uip maestro bpmn debug télécharge un projet Maestro local — ou un fichier .bpmn unique — dans Studio Web et exécute une session de débogage côté serveur en affichant les mises à jour de statut par élément dans la console et en renvoyant un statut final. Elle est enregistrée sous la branche bpmn.
Synthèse
uip maestro bpmn debug [project-path]
[--bpmn-file <path>]
[--entry-point <start-event-id>]
[--folder-id <id> | --folder-key <key> | --folder-path <path>]
[--poll-interval <ms>]
[-i, --inputs <json>]
[--login-validity <minutes>]
uip maestro bpmn debug [project-path]
[--bpmn-file <path>]
[--entry-point <start-event-id>]
[--folder-id <id> | --folder-key <key> | --folder-path <path>]
[--poll-interval <ms>]
[-i, --inputs <json>]
[--login-validity <minutes>]
Nécessite uip login. Les options globales sont respectées. Les codes de sortie suivent le contrat standard.
Arguments
[project-path](facultatif) : chemin d'accès au répertoire du projet Maestro. Doit contenirproject.uiproj. Omettez lorsque vous utilisez--bpmn-file. L’un des éléments<project-path>ou--bpmn-fileest requis; la transmission des deux est une erreur (« Indiquez un chemin d’accès au projet ou --bpmn-file, pas les deux. »).
Options
| Option | Default | Description |
|---|---|---|
--bpmn-file <path> | — | Déboguez un seul fichier .bpmn directement au lieu d'un répertoire de projet. Capture mutuellement exclusive avec <project-path>. |
--entry-point <start-event-id> | point d’entrée par défaut, sinon le premier | Démarrer l'événement à partir duquel déboguer, par son ID BPMN (une entrée dans entry-points.json). Un événement de début qui entry-points.json ne répertorie pas les échecs, en nommant les événements de début qu'il contient. S’applique uniquement à un répertoire de projet; la combinaison avec --bpmn-file échoue avec ErrorCode: "invalid_argument". |
--folder-id <id> | Détecté automatiquement | Orchestrator folder (OrganizationUnitId), a positive integer. If no folder option is passed, the folder on the current login session is used. |
--folder-key <key> | — | Orchestrator folder key (UUID). The CLI resolves it to the folder ID. |
--folder-path <path> | — | Orchestrator folder path, for example Shared/Sub. The CLI resolves it to the folder ID. |
--poll-interval <ms> | 2000 | Intervalle d'interrogation en millisecondes. Doit être un nombre positif. |
-i, --inputs <json> | — | Arguments d'entrée sous la forme d'une chaîne JSON ou @path/to/file.json. |
--login-validity <minutes> | 10 | Nombre minimum de minutes avant l’expiration du jeton pour déclencher une actualisation automatique. |
Pass at most one of --folder-id, --folder-key, and --folder-path. Passing more than one, or a folder key or path that matches no folder, fails with Result: "ValidationError" and exit code 3.
Comportement
- Valide la connexion et extrait l'organisation, le locataire, l'URL de base et le jeton d'authentification de la session.
- Charge le projet dans Studio Web sous le dossier cible.
- Interrogation pour un statut final, extrayant des lignes de statut par élément comme:
Status: InProgress (2/5 elements completed) v Activity_1 [Completed] > Activity_2 [InProgress] - Activity_3 [NotStarted]Status: InProgress (2/5 elements completed) v Activity_1 [Completed] > Activity_2 [InProgress] - Activity_3 [NotStarted] - En cas d'incident pendant l'exécution, génère une ligne de journal.
- Exits
0iffinalStatusisCompletedorSuccessful. For any other final status, such asFaultedorCancelled, the command returns a failure and exits1.
Exemples
# Debug with auto-detected folder
uip maestro bpmn debug ./invoice-orchestration
# Specify folder and inline inputs
uip maestro bpmn debug ./invoice-orchestration --folder-id 2553016 \
--inputs '{"amount":100,"customer":"Acme"}'
# Name the folder by its path
uip maestro bpmn debug ./invoice-orchestration --folder-path "Finance/Invoices"
# Inputs from a file
uip maestro bpmn debug ./invoice-orchestration --inputs @inputs.json
# Start the run at a specific start event
uip maestro bpmn debug ./invoice-orchestration --entry-point Event_trigger
# Debug a single .bpmn file directly, without a full project directory
uip maestro bpmn debug --bpmn-file ./main.bpmn
# Debug with auto-detected folder
uip maestro bpmn debug ./invoice-orchestration
# Specify folder and inline inputs
uip maestro bpmn debug ./invoice-orchestration --folder-id 2553016 \
--inputs '{"amount":100,"customer":"Acme"}'
# Name the folder by its path
uip maestro bpmn debug ./invoice-orchestration --folder-path "Finance/Invoices"
# Inputs from a file
uip maestro bpmn debug ./invoice-orchestration --inputs @inputs.json
# Start the run at a specific start event
uip maestro bpmn debug ./invoice-orchestration --entry-point Event_trigger
# Debug a single .bpmn file directly, without a full project directory
uip maestro bpmn debug --bpmn-file ./main.bpmn
Format des données (--sortie json)
{
"Code": "MaestroDebug",
"Data": {
"jobKey": "b2c3d4e5-0000-0000-0000-000000000001",
"instanceId": "c3d4e5f6-0000-0000-0000-000000000001",
"runId": "d4e5f6a7-0000-0000-0000-000000000001",
"finalStatus": "Completed",
"solutionId": "e5f6a7b8-0000-0000-0000-000000000001",
"studioWebUrl": "https://cloud.uipath.com/org/studio_/designer/f6a7b8c9-...?solutionId=e5f6a7b8-...",
"elementExecutions": [
{ "elementId": "Activity_1", "status": "Completed" }
]
}
}
{
"Code": "MaestroDebug",
"Data": {
"jobKey": "b2c3d4e5-0000-0000-0000-000000000001",
"instanceId": "c3d4e5f6-0000-0000-0000-000000000001",
"runId": "d4e5f6a7-0000-0000-0000-000000000001",
"finalStatus": "Completed",
"solutionId": "e5f6a7b8-0000-0000-0000-000000000001",
"studioWebUrl": "https://cloud.uipath.com/org/studio_/designer/f6a7b8c9-...?solutionId=e5f6a7b8-...",
"elementExecutions": [
{ "elementId": "Activity_1", "status": "Completed" }
]
}
}
studioWebUrl renvoie directement à l'exécution du débogage dans Studio Web.
When the run ends in a status other than Completed or Successful, the response has Result: "Failure", Code: "MaestroDebug", and ErrorCode: "execution_failed". Data has the same fields, and Data.incidents holds the incidents of the run:
{
"Result": "Failure",
"Code": "MaestroDebug",
"ErrorCode": "execution_failed",
"Message": "Debug session Faulted. …",
"Data": {
"instanceId": "c3d4e5f6-0000-0000-0000-000000000001",
"finalStatus": "Faulted",
"incidents": [
{
"id": "a1b2c3d4-0000-0000-0000-000000000001",
"elementId": "Activity_1",
"errorCode": "190001",
"errorMessage": "Invalid timer expression"
}
]
}
}
{
"Result": "Failure",
"Code": "MaestroDebug",
"ErrorCode": "execution_failed",
"Message": "Debug session Faulted. …",
"Data": {
"instanceId": "c3d4e5f6-0000-0000-0000-000000000001",
"finalStatus": "Faulted",
"incidents": [
{
"id": "a1b2c3d4-0000-0000-0000-000000000001",
"elementId": "Activity_1",
"errorCode": "190001",
"errorMessage": "Invalid timer expression"
}
]
}
}
Instructions lists the incidents and gives the uip maestro bpmn debug-instances incidents command that returns their full details.
Voir également
uip maestro bpmn process run— exécute un processus publiéuip maestro bpmn jobs traces— traçages de flux pour une tâche déjà démarrée- Authentification
- Vue d’ensemble de Maestro