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

uip api-workflow レジストリ

「uip api-workflow registry resolve」および「stub」の構文とオプション。コネクタ/DAP アクティビティを検索し、API ワークフローの JSON ファイル用に貼り付け可能なアクティビティ オブジェクトを出力します。

uip api-workflow registry DAP/コネクタ アクティビティ (Studio Web の TypeCache) を検索し、ワークフローの Sequence_1.do 配列に直接貼り付けた API ワークフロー形状のアクティビティ スタブを出力します。一般的なフロー: キーワードresolveして候補のアクティビティを検索し、そのuiPathActivityTypeIdをstubして貼り付け準備完了のオブジェクトを取得します。

ベンダー ("IntSvc") アクティビティの場合は、uip is connections list <connector-key> 経由で接続 UUID を取得し、uip is connections ping <uuid>で検証してから --connection-id渡します。Httpの種類は接続を必要としません。汎用アクティビティ (resolve出力のactivityType: "Generic") は、uip is resources list <connector-key> --connection-id <uuid>--object-name で選択したコネクタ オブジェクトに操作 (リスト/作成/取得/更新/削除/...) を適用します。

概要​

uip api-workflow registry resolve <keyword> [options]
uip api-workflow registry stub    <activity-type-id> [options]
uip api-workflow registry resolve <keyword> [options]
uip api-workflow registry stub    <activity-type-id> [options]

UIP API ワークフロー レジストリの解決​

Search the API-workflow-compatible TypeCache by keyword and return candidate activities and triggers. Triggers live in a separate TypeCache catalog, so an activity-only search never returns them.

引数​

名前Required目的
<keyword>○Substring matched against display name, connector key, object name, or event operation.

オプション​

フラグ説明
-l, --limit <n>返される結果の最大数。既定 50です。
--kind <kind>Catalog to search: activity, trigger, or all. Default all.
uip api-workflow registry resolve "send email"

# Search only the trigger catalog
uip api-workflow registry resolve "created" --kind trigger
uip api-workflow registry resolve "send email"

# Search only the trigger catalog
uip api-workflow registry resolve "created" --kind trigger

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

{
  "Code": "ActivityResolveSuccess",
  "Data": {
    "Keyword": "send email",
    "Kind": "all",
    "ResultCount": 3,
    "Matches": []
  }
}
{
  "Code": "ActivityResolveSuccess",
  "Data": {
    "Keyword": "send email",
    "Kind": "all",
    "ResultCount": 3,
    "Matches": []
  }
}

Each match carries kind, either activity or trigger. Trigger matches also carry eventOperation, the connector event such as CREATED, and eventMode, either polling or webhooks. When a catalog is skipped, for example an unreachable trigger catalog, Data.Warnings says why.

uip api-workflow レジストリ スタブ​

既知の uiPathActivityTypeIdに対して、貼り付け可能な状態のアクティビティ オブジェクトを出力します。TypeCache (GUID とインスタンスのパラメーター) を Integration Service の要素のメタデータ (フル パス、フィールド、マルチパート) と組み合わせます。HTTP コネクタには Http の種類を選択し、ベンダー コネクタには IntSvc の種類を選択します。

引数​

名前Required目的
<activity-type-id>○uiPathActivityTypeId resolveによって返されます。

オプション​

フラグ説明
--connection-id <id>接続: UUID。IntSvc種類のベンダー アクティビティに必要です。
--instance <n>スロット キーとエクスポート バケットのサフィックスの作成に使用するインスタンス番号です。既定 1です。
--slot-key <key>既定の PascalCase スロット キー ( GetNewestEmail_1など) を上書きします。
--inputs <json>フィールド名を値にマッピングする JSON オブジェクトです (例: '{"message.subject":"hi"}')。
--object-name <name>Generic アクティビティのターゲット コネクタ オブジェクトです (例: tickets)。既定で、アクティビティ定義にピン留めされたオブジェクトが存在する場合に使用されます。
--resource-key <field>=<key>[ソリューション リソース ピッカー] フィールドをソリューション リソース キーにバインドします。繰り返し可能 (例: --resource-key 'ReleaseName=87ec3255-...')。
uip api-workflow registry stub SendEmail --connection-id 87ec3255-1234-4abc-9def-0123456789ab
uip api-workflow registry stub SendEmail --connection-id 87ec3255-1234-4abc-9def-0123456789ab

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

{
  "Code": "ActivityStubSuccess",
  "Data": {
    "kind": "IntSvc",
    "slotKey": "SendEmail_1",
    "exportBucketKey": "SendEmail_1_output",
    "activity": {},
    "parameters": {},
    "requestFields": [],
    "responseFields": []
  }
}
{
  "Code": "ActivityStubSuccess",
  "Data": {
    "kind": "IntSvc",
    "slotKey": "SendEmail_1",
    "exportBucketKey": "SendEmail_1_output",
    "activity": {},
    "parameters": {},
    "requestFields": [],
    "responseFields": []
  }
}

Activityオブジェクトのキーは、ネイティブのキャメルケース(このCLIのほとんどの出力のようにPascalCasedではありません)に保持されます—ワークフローのdo[]配列に逐語的に貼り付けられ、PascalCasingはExecutorを壊します。--resource-key選択が指定されると、応答はSolutionResourceFields配列を追加します。ルックアップで強化の機会や注意点が明らかになると、IsEnrichmentAvailableやWarningsが追加されます。

参照​

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

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得