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 pm ingestions, uip pm transformations

Syntax and options for triggering and inspecting Process Mining data ingestions and dbt transformations with `uip pm ingestions` and `uip pm transformations`.

Part of the uip pm tool. ingestions loads uploaded data files into a process app; transformations manages and runs the dbt SQL models that reshape ingested data into the app's queryable tables. Both support --wait to block until a run finishes — see Concepts on the parent page.

Zusammenfassung

uip pm ingestions create <app-id> [--stage dev|published] [--file-format csv|tsv] [--field-delimiter <char>] [--quote-character <char>] [--encoding utf-8|iso-8859-1] [--wait] [--timeout <s>] [--poll-interval <s>]
uip pm ingestions cancel <app-id> <ingestion-id> [--stage dev|published]
uip pm ingestions logs <app-id> <ingestion-id> [--stage dev|published] [--limit <n>] [--offset <n>]

uip pm transformations list <app-id> [--stage dev|published]
uip pm transformations get <app-id> <path> [--stage dev|published] [--destination <file>]
uip pm transformations create <app-id> <path> --file <local-file> [--stage dev|published]
uip pm transformations update <app-id> <path> --file <local-file> --etag <etag> [--stage dev|published]
uip pm transformations run <app-id> [--model <path>] [--wait] [--timeout <s>] [--poll-interval <s>]
uip pm transformations apply <app-id> [--stage dev|published] [--wait] [--timeout <s>] [--poll-interval <s>]
uip pm transformations cancel <app-id>
uip pm transformations status <app-id>
uip pm transformations logs <app-id>
uip pm ingestions create <app-id> [--stage dev|published] [--file-format csv|tsv] [--field-delimiter <char>] [--quote-character <char>] [--encoding utf-8|iso-8859-1] [--wait] [--timeout <s>] [--poll-interval <s>]
uip pm ingestions cancel <app-id> <ingestion-id> [--stage dev|published]
uip pm ingestions logs <app-id> <ingestion-id> [--stage dev|published] [--limit <n>] [--offset <n>]

uip pm transformations list <app-id> [--stage dev|published]
uip pm transformations get <app-id> <path> [--stage dev|published] [--destination <file>]
uip pm transformations create <app-id> <path> --file <local-file> [--stage dev|published]
uip pm transformations update <app-id> <path> --file <local-file> --etag <etag> [--stage dev|published]
uip pm transformations run <app-id> [--model <path>] [--wait] [--timeout <s>] [--poll-interval <s>]
uip pm transformations apply <app-id> [--stage dev|published] [--wait] [--timeout <s>] [--poll-interval <s>]
uip pm transformations cancel <app-id>
uip pm transformations status <app-id>
uip pm transformations logs <app-id>

uip pm ingestions create

Trigger an ingestion of the uploaded data files.

Argumente

NameErforderlichZweck
<app-id>jaProcess app ID.

Optionen

LongWertStandardBeschreibung
--stage <stage>dev | publisheddevApp stage to ingest into.
--file-format <format>csv | tsvcsvData file format.
--field-delimiter <char>string,Field delimiter in the data files.
--quote-character <char>string"Quote character enclosing fields.
--encoding <encoding>utf-8 | iso-8859-1utf-8File encoding.
--waitMarkierenausBlock until the ingestion reaches a terminal state; exit non-zero on failure.
--timeout <seconds>Integer1800Max seconds to wait when --wait is set.
--poll-interval <seconds>Integer5Seconds between status polls when --wait is set.

Beispiel

uip pm ingestions create 9c46289e --file-format csv --encoding iso-8859-1
uip pm ingestions create 9c46289e --file-format csv --encoding iso-8859-1

Datenform (--output json)

Ohne --wait:

{ "Code": "PmIngestionsCreate", "Data": { "Status": "Accepted", "Message": "Ingestion started. Poll 'uip pm apps list' (LastIngestion) for progress." } }
{ "Code": "PmIngestionsCreate", "Data": { "Status": "Accepted", "Message": "Ingestion started. Poll 'uip pm apps list' (LastIngestion) for progress." } }

Mit --wait:

{ "Code": "PmIngestionsCreate", "Data": { "Status": "SUCCESS", "IngestionId": "1d7e1421" } }
{ "Code": "PmIngestionsCreate", "Data": { "Status": "SUCCESS", "IngestionId": "1d7e1421" } }

On --wait failure, exits non-zero with the ingestion's own error-log lines (via ingestions logs) folded into the failure message.

uip pm ingestions cancel

Cancel an ingestion that is still running.

Argumente

NameErforderlichZweck
<app-id>jaProcess app ID.
<ingestion-id>jaIngestion ID (uip pm apps get <app-id> shows LastIngestion).

Optionen

LongWertStandardBeschreibung
--stage <stage>dev | publisheddevApp stage the ingestion runs on.

Beispiel

uip pm ingestions cancel 9c46289e 1d7e1421
uip pm ingestions cancel 9c46289e 1d7e1421

Datenform (--output json)

{ "Code": "PmIngestionsCancel", "Data": { "AppId": "9c46289e", "IngestionId": "1d7e1421", "Status": "Cancelling" } }
{ "Code": "PmIngestionsCancel", "Data": { "AppId": "9c46289e", "IngestionId": "1d7e1421", "Status": "Cancelling" } }

uip pm ingestions logs

Get the logs of an ingestion run.

Argumente

NameErforderlichZweck
<app-id>jaProcess app ID.
<ingestion-id>jaIngestion ID.

Optionen

LongWertStandardBeschreibung
--stage <stage>dev | publisheddevApp stage the ingestion ran on.
--limit <number>Integer100Max log entries to fetch (page size).
--offset <number>Integer0Number of log entries to skip before the page.

Beispiel

uip pm ingestions logs 9c46289e 1d7e1421 --limit 50 --offset 50
uip pm ingestions logs 9c46289e 1d7e1421 --limit 50 --offset 50

Datenform (--output json)

{ "Code": "PmIngestionsLogs", "Data": [{ "Message": "Data run started" }] }
{ "Code": "PmIngestionsLogs", "Data": [{ "Message": "Data run started" }] }

uip pm transformations list

List the transformation (dbt model) files of a process app.

Name/OptionErforderlichZweck
<app-id>jaProcess app ID.
--stage <stage>neindev | published, default dev.
{ "Code": "PmTransformationsList", "Data": {} }
{ "Code": "PmTransformationsList", "Data": {} }

uip pm transformations get

Get the content of a transformation file, plus its ETag — which update requires as --etag.

Name/OptionErforderlichZweck
<app-id>jaProcess app ID.
<path>jaTransformation file path, e.g. models/Cases.sql.
--stage <stage>neindev | published, default dev.
--destination <local-file>neinWrite content to this local file instead of the output envelope.
{ "Code": "PmTransformationsGet", "Data": { "Path": "models/Cases.sql", "ETag": "W/\"...\"", "Content": "select ..." } }
{ "Code": "PmTransformationsGet", "Data": { "Path": "models/Cases.sql", "ETag": "W/\"...\"", "Content": "select ..." } }

uip pm transformations create

Create a new transformation file from a local file. Use update to modify an existing one — this fails if the path already exists.

Optionen

LongWertErforderlichBeschreibung
--file <local-file>PfadjaLocal file with the new content.
--stage <stage>dev | publishedneinDefault dev.
uip pm transformations create 9c46289e models/Workload.sql --file ./Workload.sql
uip pm transformations create 9c46289e models/Workload.sql --file ./Workload.sql
{ "Code": "PmTransformationsCreate", "Data": { "Path": "models/Workload.sql", "ETag": "W/\"...\"" } }
{ "Code": "PmTransformationsCreate", "Data": { "Path": "models/Workload.sql", "ETag": "W/\"...\"" } }

uip pm transformations update

Update a transformation file from a local file (ETag-safe).

Optionen

LongWertErforderlichBeschreibung
--file <local-file>PfadjaLocal file with the new content.
--etag <etag>stringjaETag of the file this edit is based on, from transformations get.
--stage <stage>dev | publishedneinDefault dev.
uip pm transformations update 9c46289e models/Cases.sql --file ./Cases.sql --etag 'W/"639204059477096903"'
uip pm transformations update 9c46289e models/Cases.sql --file ./Cases.sql --etag 'W/"639204059477096903"'
{ "Code": "PmTransformationsUpdate", "Data": { "Path": "models/Cases.sql", "ETag": "W/\"639209312397638135\"" } }
{ "Code": "PmTransformationsUpdate", "Data": { "Path": "models/Cases.sql", "ETag": "W/\"639209312397638135\"" } }

A stale --etag fails with a conflict — re-read via transformations get, redo the edit, and retry.

uip pm transformations run

Run the dbt transformations on the dev stage — builds only changed/dependent models. Use apply to force a full re-run on already-ingested data.

Optionen

LongWertStandardBeschreibung
--stage <stage>devdevNur dev wird unterstützt.
--model <model-path>PfadRun only this model (e.g. models/Cases.sql) and its dependents. Omit to run everything.
--waitMarkierenausBlock until the build reaches a terminal state; exit non-zero on failure (auto-prints the dbt error).
--timeout <seconds>Integer1800Max seconds to wait.
--poll-interval <seconds>Integer5Seconds between polls.

Beispiel

uip pm transformations run 9c46289e --model models/Cases.sql
uip pm transformations run 9c46289e --model models/Cases.sql

Datenform (--output json)

{ "Code": "PmTransformationsRun", "Data": { "Status": "Accepted", "Message": "Build started. Re-run with --wait to block until it finishes, or poll 'uip pm transformations status 9c46289e'." } }
{ "Code": "PmTransformationsRun", "Data": { "Status": "Accepted", "Message": "Build started. Re-run with --wait to block until it finishes, or poll 'uip pm transformations status 9c46289e'." } }

uip pm transformations cancel

Cancel the dbt build currently running on dev.

uip pm transformations cancel 9c46289e
uip pm transformations cancel 9c46289e
{ "Code": "PmTransformationsCancel", "Data": { "AppId": "9c46289e", "Status": "Cancelling" } }
{ "Code": "PmTransformationsCancel", "Data": { "AppId": "9c46289e", "Status": "Cancelling" } }

uip pm transformations apply

Re-run the full data transformation on already-ingested data (unlike run, which builds only changed dev models).

LongWertStandardBeschreibung
--stage <stage>dev | publisheddevApp stage.
--waitMarkierenausBlock until the transform reaches a terminal state; exit non-zero on failure.
--timeout <seconds>Integer1800Max seconds to wait.
--poll-interval <seconds>Integer5Seconds between polls.
uip pm transformations apply 9c46289e
uip pm transformations apply 9c46289e
{ "Code": "PmTransformationsApply", "Data": { "Status": "Accepted", "Message": "Transform started. Poll 'uip pm apps list' (LastIngestion) for progress." } }
{ "Code": "PmTransformationsApply", "Data": { "Status": "Accepted", "Message": "Transform started. Poll 'uip pm apps list' (LastIngestion) for progress." } }

uip pm transformations status

Get the status of the current/last transformation build.

uip pm transformations status 9c46289e
uip pm transformations status 9c46289e
{ "Code": "PmTransformationsStatus", "Data": {} }
{ "Code": "PmTransformationsStatus", "Data": {} }

uip pm transformations logs

Get the logs of the current/last transformation build.

uip pm transformations logs 9c46289e
uip pm transformations logs 9c46289e
{ "Code": "PmTransformationsLogs", "Data": {} }
{ "Code": "PmTransformationsLogs", "Data": {} }

Siehe auch

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben