- Überblick
- Erste Schritte
- Konzepte
- Using UiPath CLI
- Anleitungen
- CI/CD recipes
- Befehlsreferenz
- Überblick
- Exitcodes
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- Ein Projekt erstellen
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migration
- Reference & support
UiPath CLI user guide
uip flow job inspects an individual Flow job — one execution attempt of a process instance — by streaming its traces or fetching its detailed status.
All subcommands require uip login and honor global options. Exit codes follow the standard contract.
Synopsis
uip flow job traces <job-key>
[-t, --tenant <name>] [--poll-interval <ms>]
[--traces-service <name>] [--pretty]
[--login-validity <minutes>]
uip flow job status <job-key>
[-t, --tenant <name>] [--folder-key <key>] [--detailed]
[--login-validity <minutes>]
uip flow job traces <job-key>
[-t, --tenant <name>] [--poll-interval <ms>]
[--traces-service <name>] [--pretty]
[--login-validity <minutes>]
uip flow job status <job-key>
[-t, --tenant <name>] [--folder-key <key>] [--detailed]
[--login-validity <minutes>]
uip flow job traces
Stream execution trace events for a running or recently completed job. Lines stream to stderr as they arrive; the final state and duration are also streamed.
Arguments:
<job-key>(required) — job key (GUID fromprocess run).
Options:
| Option | Standard | Beschreibung |
|---|---|---|
-t, --tenant <name> | authenticated tenant | Tenant name. |
--poll-interval <ms> | 2000 | Polling interval. Must be a positive number. |
--traces-service <name> | llmopstenant_ | Traces service name (advanced; override only when directed). |
--pretty | off | Pretty-print trace events. Without it, each event is emitted as a single JSON line — friendly for piping into jq. |
--login-validity <minutes> | 10 | Token-refresh threshold. |
Behavior:
- Writes a heading line to stderr:
Streaming traces for job: <key> Polling every Ns... - Streams each trace event via
ScreenLogger.progress(stderr). - On completion, emits
Job <key>: <finalState> (<durationMs>ms). - Exit code:
0if the job succeeded,1otherwise (perresult.success).
Beispiele:
# Raw JSON lines — best for piping
uip flow job traces b2c3d4e5-… | jq -c 'select(.level=="error")'
# Human-readable
uip flow job traces b2c3d4e5-… --pretty
# Slower polling for quiet jobs
uip flow job traces b2c3d4e5-… --poll-interval 5000
# Raw JSON lines — best for piping
uip flow job traces b2c3d4e5-… | jq -c 'select(.level=="error")'
# Human-readable
uip flow job traces b2c3d4e5-… --pretty
# Slower polling for quiet jobs
uip flow job traces b2c3d4e5-… --poll-interval 5000
Output: traces are streamed directly — no final Data payload.
uip flow job status
Get the status of a Flow job. Returns a curated 14-field summary by default; --detailed returns the full Orchestrator response.
Arguments:
<job-key>(required) — job key (GUID).
Options:
| Option | Standard | Beschreibung |
|---|---|---|
-t, --tenant <name> | authenticated tenant | Tenant name. |
--folder-key <key> | authenticated folder | Folder key (GUID). |
--detailed | off | Return the full response instead of the 14-field summary. |
--login-validity <minutes> | 10 | Token-refresh threshold. |
Data shape (default summary):
{
"Code": "FlowJobStatus",
"Data": {
"key": "b2c3d4e5-…",
"state": "Successful",
"runtimeType": "…",
"processType": "Flow",
"startTime": "2025-04-15T10:30:00Z",
"endTime": "2025-04-15T10:32:11Z",
"creationTime": "2025-04-15T10:29:58Z",
"inputArguments": "{}",
"outputArguments": "{}",
"info": "",
"releaseName": "InvoiceFlow",
"processKey": "a1b2c3d4-…",
"robotName": "…",
"hostMachineName": "…"
}
}
{
"Code": "FlowJobStatus",
"Data": {
"key": "b2c3d4e5-…",
"state": "Successful",
"runtimeType": "…",
"processType": "Flow",
"startTime": "2025-04-15T10:30:00Z",
"endTime": "2025-04-15T10:32:11Z",
"creationTime": "2025-04-15T10:29:58Z",
"inputArguments": "{}",
"outputArguments": "{}",
"info": "",
"releaseName": "InvoiceFlow",
"processKey": "a1b2c3d4-…",
"robotName": "…",
"hostMachineName": "…"
}
}
With --detailed, Data is the full Orchestrator job object (all fields, unflattened).
The full detailed-response shape is whatever Orchestrator returns and is not strictly typed by the CLI. Field presence may drift between Orchestrator versions — for scripts that parse specific fields, query defensively and pin @uipath/cli in CI.
Beispiele
# Start a job, capture the key, stream traces to completion
JOB_KEY=$(uip flow process run "InvoiceFlow.flow.Flow:1.0.0" "<folder-key>" \
--inputs '{}' --output-filter "jobKey" --output plain)
uip flow job traces "$JOB_KEY" --pretty
# Get the summary once the job is done
uip flow job status "$JOB_KEY" --folder-key "<folder-key>"
# Full response
uip flow job status "$JOB_KEY" --detailed
# Start a job, capture the key, stream traces to completion
JOB_KEY=$(uip flow process run "InvoiceFlow.flow.Flow:1.0.0" "<folder-key>" \
--inputs '{}' --output-filter "jobKey" --output plain)
uip flow job traces "$JOB_KEY" --pretty
# Get the summary once the job is done
uip flow job status "$JOB_KEY" --folder-key "<folder-key>"
# Full response
uip flow job status "$JOB_KEY" --detailed
Siehe auch
uip flow process run— start a jobuip flow instance— the instance view of the same execution- Orchestrator jobs
- Flow overview