UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

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.

概要

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.

引数

名前Required目的
<app-id>Process app ID.

オプション

長押し値 (Value)既定 (Default)説明
--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.
--waitフラグ無効Block 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.

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

データシェイプ(--output json)

--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." } }

--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.

引数

名前Required目的
<app-id>Process app ID.
<ingestion-id>Ingestion ID (uip pm apps get <app-id> shows LastIngestion).

オプション

長押し値 (Value)既定 (Default)説明
--stage <stage>dev | publisheddevApp stage the ingestion runs on.

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

データシェイプ(--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.

引数

名前Required目的
<app-id>Process app ID.
<ingestion-id>Ingestion ID.

オプション

長押し値 (Value)既定 (Default)説明
--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.

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

データシェイプ(--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/OptionRequired目的
<app-id>Process app ID.
--stage <stage>×dev | 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/OptionRequired目的
<app-id>Process app ID.
<path>Transformation file path, e.g. models/Cases.sql.
--stage <stage>×dev | published, default dev.
--destination <local-file>×Write 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.

オプション

長押し値 (Value)Required説明
--file <local-file>パスLocal file with the new content.
--stage <stage>dev | published×Default 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).

オプション

長押し値 (Value)Required説明
--file <local-file>パスLocal file with the new content.
--etag <etag>stringETag of the file this edit is based on, from transformations get.
--stage <stage>dev | published×Default 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.

オプション

長押し値 (Value)既定 (Default)説明
--stage <stage>devdevdevのみがサポートされています。
--model <model-path>パスRun only this model (e.g. models/Cases.sql) and its dependents. Omit to run everything.
--waitフラグ無効Block 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.

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

データシェイプ(--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).

長押し値 (Value)既定 (Default)説明
--stage <stage>dev | publisheddevApp stage.
--waitフラグ無効Block 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": {} }

参照

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得