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

Commands for managing Process Mining process apps, data ingestion, transformations, and analysis using the `uip pm` tool.

uip pm is the Process Mining tool: it creates and manages process apps (mined process models built from event-log data), uploads and ingests source data, runs dbt transformations, and analyzes the result (conformance against a reference model, accepted deviations, ad hoc queries). pm is the command prefix; the underlying package is @uipath/pm-tool.

A process app moves through a dev stage (where you author its structure) and a published stage (what dashboards/consumers see) — most verbs take --stage dev|published (default dev). Every command requires uip login first.

This resource spans four pages

  • This page — concepts, apps (create/list/get/delete/publish), app-types, files, simulations.
  • apps model — the ETag-guarded structural/semantic model editing surface: apps data-model, apps model (get/update/fields/dashboards/metrics).
  • ingestions & transformations — trigger and inspect data loads and dbt builds.
  • conformance, deviations & query — analyze a mined app: conformance rate, accepted deviations, ad hoc data queries.

Konzepte

  • ETag-guarded writes. Every write to an app's data model, semantic model, or a transformation file requires an --etag from a prior get (or is itself a read-modify-write that fetches its own base). A stale ETag fails with a conflict; the fix is to re-read, redo the edit, and retry — never re-fetch a fresh ETag just to force the write through, since that silently clobbers whatever changed in between.
  • Dev vs. published. Structural/semantic edits, ingestion, and transformations only apply to dev. apps publish pushes dev's current model to the published/dashboard layer; apps changes previews what would move.
  • --wait polling. ingestions create and transformations apply/run accept --wait (--timeout, default 1800s; --poll-interval, default 5s) to block until the run reaches a terminal state, printing the real dbt/loader error on failure instead of just exiting.

Zusammenfassung

uip pm apps list [--stage dev|published]
uip pm apps get <app-id> [--stage dev|published]
uip pm apps create <name> --type <app-type-key> [--type-version <v>] [--miner directly-follows|inductive|bpmn] [--description <text>] [--data-mapping <json-file>]
uip pm apps delete <app-id> -y
uip pm apps publish <app-id>
uip pm apps changes <app-id>
uip pm apps publications <app-id> [--limit <n>] [--since-version <v>]
uip pm app-types list
uip pm app-types get <app-type-key> <app-type-version>
uip pm files upload <app-id> <file-path> [--stage dev|published] [--input-table <name>]
uip pm simulations list <app-id> [--stage dev|published]
uip pm apps list [--stage dev|published]
uip pm apps get <app-id> [--stage dev|published]
uip pm apps create <name> --type <app-type-key> [--type-version <v>] [--miner directly-follows|inductive|bpmn] [--description <text>] [--data-mapping <json-file>]
uip pm apps delete <app-id> -y
uip pm apps publish <app-id>
uip pm apps changes <app-id>
uip pm apps publications <app-id> [--limit <n>] [--since-version <v>]
uip pm app-types list
uip pm app-types get <app-type-key> <app-type-version>
uip pm files upload <app-id> <file-path> [--stage dev|published] [--input-table <name>]
uip pm simulations list <app-id> [--stage dev|published]

uip pm apps list

List process apps.

Optionen

LongWertStandardBeschreibung
--stage <stage>dev | publisheddevApp stage to list.

Beispiel

uip pm apps list
uip pm apps list

Datenform (--output json)

{ "Code": "PmAppsList", "Data": [{ "Id": "9c46289e", "Name": "Sample dataset" }] }
{ "Code": "PmAppsList", "Data": [{ "Id": "9c46289e", "Name": "Sample dataset" }] }

uip pm apps get

Get one process app: its status, last ingestion, and build state.

Argumente

NameErforderlichZweck
<app-id>jaProcess app ID.

Optionen

LongWertStandardBeschreibung
--stage <stage>dev | publisheddevApp stage to read.

Beispiel

uip pm apps get 9c46289e
uip pm apps get 9c46289e

Datenform (--output json)

{
  "Code": "PmAppsGet",
  "Data": {
    "Id": "9c46289e",
    "Name": "Sample dataset",
    "AppStatus": "CREATED",
    "LastIngestion": { "Id": "1d7e1421", "Status": "SUCCESS" }
  }
}
{
  "Code": "PmAppsGet",
  "Data": {
    "Id": "9c46289e",
    "Name": "Sample dataset",
    "AppStatus": "CREATED",
    "LastIngestion": { "Id": "1d7e1421", "Status": "SUCCESS" }
  }
}

uip pm apps create

Create a process app from an app template (see app-types list).

Argumente

NameErforderlichZweck
<name>jaName der App.

Optionen

LongWertErforderlichBeschreibung
--type <app-type-key>stringjaApp template key, e.g. uipath.custom.
--type-version <version>stringneinTemplate version. Defaults to the latest available.
--miner <miner>directly-follows | inductive | bpmnneinProcess miner. Default directly-follows. Only inductive/bpmn produce a reference model, which conformance/deviations need.
--description <text>stringneinApp-Beschreibung.
--data-mapping <json-file>PfadneinJSON file with the input data mapping (tables/fields). Missing IsNotNull/IsUnique/DataTypeSettings per field are defaulted automatically.

Beispiel

uip pm apps create "Sample dataset" --type uipath.custom --data-mapping ./mapping.json
uip pm apps create "Sample dataset" --type uipath.custom --data-mapping ./mapping.json

Datenform (--output json)

{
  "Code": "PmAppsCreate",
  "Data": { "AppId": "9c46289e-e2e3-4da4-a2ea-95c98f719ff7", "Name": "Sample dataset", "Type": "uipath.custom" }
}
{
  "Code": "PmAppsCreate",
  "Data": { "AppId": "9c46289e-e2e3-4da4-a2ea-95c98f719ff7", "Name": "Sample dataset", "Type": "uipath.custom" }
}

uip pm apps delete

Delete a process app.

Argumente

NameErforderlichZweck
<app-id>jaProcess app ID.

Optionen

LongWertBeschreibung
-y, --yesMarkierenConfirm this irreversible operation. Required — the CLI never prompts.

Beispiel

uip pm apps delete 9c46289e --yes
uip pm apps delete 9c46289e --yes

Datenform (--output json)

{ "Code": "PmAppsDelete", "Data": { "AppId": "9c46289e", "Status": "Deleted" } }
{ "Code": "PmAppsDelete", "Data": { "AppId": "9c46289e", "Status": "Deleted" } }

uip pm apps publish

Publish dev changes to the dashboards/query layer.

Argumente

NameErforderlichZweck
<app-id>jaProcess app ID.

Beispiel

uip pm apps publish 9c46289e
uip pm apps publish 9c46289e

Datenform (--output json)

{ "Code": "PmAppsPublish", "Data": { "AppId": "9c46289e", "Changes": {}, "IngestionNeeded": true, "Hint": "Published changes need data — run 'uip pm ingestions create <app> --wait' to load them into the dashboards." } }
{ "Code": "PmAppsPublish", "Data": { "AppId": "9c46289e", "Changes": {}, "IngestionNeeded": true, "Hint": "Published changes need data — run 'uip pm ingestions create <app> --wait' to load them into the dashboards." } }

Hint is present only when IngestionNeeded is true.

uip pm apps changes

Show which parts of dev are not published yet (dashboards, transformations, BPMN).

Argumente

NameErforderlichZweck
<app-id>jaProcess app ID.

Beispiel

uip pm apps changes 9c46289e
uip pm apps changes 9c46289e

Datenform (--output json)

{ "Code": "PmAppsChanges", "Data": { "AppId": "9c46289e", "ModelVersion": 3, "Changes": {}, "IngestionNeeded": false } }
{ "Code": "PmAppsChanges", "Data": { "AppId": "9c46289e", "ModelVersion": 3, "Changes": {}, "IngestionNeeded": false } }

uip pm apps publications

List the publish history of a process app.

Argumente

NameErforderlichZweck
<app-id>jaProcess app ID.

Optionen

LongWertBeschreibung
--limit <number>IntegerMax publications to return.
--since-version <model-version>IntegerOnly return publications newer than this model version.

Datenform (--output json)

{ "Code": "PmAppsPublications", "Data": [] }
{ "Code": "PmAppsPublications", "Data": [] }

uip pm app-types

Discover process app templates. Not stage-scoped — templates are tenant-global.

uip pm app-types list

List available app templates at their latest version.

uip pm app-types list
uip pm app-types list
{ "Code": "PmAppTypesList", "Data": [{ "AppTypeKey": "uipath.custom", "Version": "2604.192.1-ci.5" }] }
{ "Code": "PmAppTypesList", "Data": [{ "AppTypeKey": "uipath.custom", "Version": "2604.192.1-ci.5" }] }

uip pm app-types get

Get the full app model of a template version.

NameErforderlichZweck
<app-type-key>jaApp template key.
<app-type-version>jaTemplate version.
uip pm app-types get uipath.custom 2604.192.1-ci.5
uip pm app-types get uipath.custom 2604.192.1-ci.5
{ "Code": "PmAppTypesGet", "Data": {} }
{ "Code": "PmAppTypesGet", "Data": {} }

uip pm files upload

Upload a data file to a process app via chunked blob upload (5 MB parts, 4 concurrent).

Argumente

NameErforderlichZweck
<app-id>jaProcess app ID.
<file-path>jaLocal path to the data file.

Optionen

LongWertStandardBeschreibung
--stage <stage>dev | publisheddevApp stage to upload to.
--input-table <name>stringTarget input table the file belongs to (e.g. Event_log).

Beispiel

uip pm files upload 9c46289e ./Event_log.csv --input-table Event_log
uip pm files upload 9c46289e ./Event_log.csv --input-table Event_log

Datenform (--output json)

{
  "Code": "PmFilesUpload",
  "Data": { "Filename": "Event_log/.../Event_log.csv", "UploadId": "...", "Size": 12345, "Parts": 1, "InputTable": "Event_log" }
}
{
  "Code": "PmFilesUpload",
  "Data": { "Filename": "Event_log/.../Event_log.csv", "UploadId": "...", "Size": 12345, "Parts": 1, "InputTable": "Event_log" }
}

uip pm simulations list

Read the process simulations (what-if scenarios) saved on a process app. Read-only — there is no create/update/delete; simulations are authored elsewhere and only listed here. Served by a different API (app-scoped PMT, token-exchanged) than the rest of this tool.

Argumente

NameErforderlichZweck
<app-id>jaProcess app ID.

Optionen

LongWertStandardBeschreibung
--stage <stage>dev | publisheddevApp stage.

Beispiel

uip pm simulations list 9c46289e
uip pm simulations list 9c46289e

Datenform (--output json)

{
  "Code": "PmSimulationsList",
  "Data": [
    {
      "DefinitionMetadata": { "Name": "Two more approvers", "SimulationId": "bfd3d274-...", "IngestionId": "7792c4cd-...", "ProcessId": "Process" },
      "RunMetadata": { "Status": "successWithWarnings", "NumberOfCases": 1000, "NumberOfRuns": 40 }
    }
  ]
}
{
  "Code": "PmSimulationsList",
  "Data": [
    {
      "DefinitionMetadata": { "Name": "Two more approvers", "SimulationId": "bfd3d274-...", "IngestionId": "7792c4cd-...", "ProcessId": "Process" },
      "RunMetadata": { "Status": "successWithWarnings", "NumberOfCases": 1000, "NumberOfRuns": 40 }
    }
  ]
}

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