UiPath Documentation
uipath-cli
latest
false
UiPath-CLI-Benutzerhandbuch
Wichtig :
Dieser Inhalt wurde maschinell übersetzt. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

UIP Maestro BPMN-Debugging

Laden Sie ein lokales Maestro BPMN-Projekt (oder eine einzelne.bpmn-Datei Datei) in Studio Web übertragen und eine serverseitige Debugging-Sitzung mit gestreamten Statusaktualisierungen mithilfe von „uip Maestro bpmn debug“ ausführen.

uip maestro bpmn debug lädt ein lokales Maestro-Projekt – oder eine einzelne .bpmn -Datei – in Studio Web hoch und führt eine serverseitige Debug-Sitzung durch, wobei Statusaktualisierungen pro Element zurück auf die Konsole gestreamt werden und ein endgültiger Status zurückgegeben wird. Er wird unter der Verzweigung bpmn registriert.

Zusammenfassung​

uip maestro bpmn debug [project-path]
                  [--bpmn-file <path>]
                  [--entry-point <start-event-id>]
                  [--folder-id <id>]
                  [--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>]
                  [--poll-interval <ms>]
                  [-i, --inputs <json>]
                  [--login-validity <minutes>]

Erfordert uip login. Beachten Sie globale Optionen. Austrittscodes folgen dem Standardvertrag.

Argumente​

  • [project-path] (optional) – Pfad zum Maestro-Projektverzeichnis. Muss project.uiproj enthalten. Auslassen, wenn --bpmn-file verwendet wird. Entweder <project-path> oder --bpmn-file ist erforderlich; das Übergeben von beiden ist ein Fehler („Geben Sie entweder einen Projektpfad oder eine --bpmn-Datei an, nicht beides.“).

Optionen​

OptionStandardBeschreibung
--bpmn-file <path>–Debuggen Sie eine einzelne .bpmn -Datei direkt anstelle eines Projektverzeichnisses. Sich gegenseitig mit <project-path> ausschließen.
--entry-point <start-event-id>default entry point, else the firstStart event to debug from, by its BPMN ID (an entry in entry-points.json). A start event that entry-points.json doesn't list fails, naming the start events it has. Applies only to a project directory; combining it with --bpmn-file fails with ErrorCode: "invalid_argument".
--folder-id <id>Automatisch erkennenOrchestrator folder (OrganizationUnitId). If omitted, the folder on the current login session is used.
--poll-interval <ms>2000Abrufintervall in Millisekunden. Muss eine positive Zahl sein.
-i, --inputs <json>–Geben Sie Argumente als JSON-Zeichenfolge oder @path/to/file.json.
--login-validity <minutes>10Mindestens Minuten vor dem Tokenablauf zum Auslösen einer automatischen Aktualisierung.

Verhalten​

  1. Validiert die Anmeldung und ruft die Organisation, den Mandanten, die Basis-URL und das Authentifizierungstoken aus der Sitzung ab.
  2. Lädt das Projekt in Studio Web unter dem Zielordner hoch.
  3. Abfragen nach einem endgültigen Status, wobei Statuszeilen pro Element ausgegeben werden wie:
    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]
    
  4. Gibt bei Vorfällen während der Ausführung eine Protokollzeile aus.
  5. 0 wird beendet, wenn finalStatus Completed oder Successful ist; 1 andernfalls.

Beispiele​

# 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"}'

# 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"}'

# 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

Datenform (--output 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 ist direkt mit der Debug-Ausführung in Studio Web verknüpft.

Siehe auch​

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support(opens in new window)

Möchten Sie lernen? UiPath Academy(opens in new window)

Haben Sie Fragen? UiPath-Forum(opens in new window)

Auf dem neuesten Stand bleiben