Uipath Marketplace

はじめてのオートメーションをわずか数分で作成できます。Studio Web を試す

Get Process Info

Get Process Info

作成者: Internal Labs

1

アクティビティ

ダウンロード数

900

[戻る] ボタン
[戻る] ボタン
carouselImage0
[次へ] ボタン
[次へ] ボタン

要約

要約

This custom activity exposes information about the internals of running job to the workflow (JobID, ProcessName, etc).

概要

概要

This custom activity exposes information about the running job to the workflow. 

You can get JobId, ProcessName, WorkflowFile and ProcessVersion at runtime.

This internal information is very useful for instance if you need your process to know its name at runtime, but you don't want to hardcode the process name in your workflow. This activity will gather that information dynamically.

Another interesting use of this activity is in determining how the automation is being triggered from within a library.

  • A process triggered from Assistant or from the Orchestrator (Unattended) will have a Environment. CurrentDirectory in %userprofile%\.nuget\packages. A process triggered from Studio/StudioX will have a CurrentDirectory somewhere else.
  • Whenever you are within in a library, the Environment.CurrentDirectory is the folder of the library. There is no way to know the location from which the process is running.
  • This custom activity's WorkflowFile will always point to the calling Process's workflow (not the Library's), hence giving away the source of the calling process .

機能

機能

You will not need to hardcode any values. All of this information is extracted at runtime.

This can be used, for instance, to store the process name in a QueueItem that is shared across multiple processes.

See more examples above.

その他の情報

その他の情報

依存関係

UiPath.Activities.Api >= 20.4.0

コード言語

Visual Basic

ランタイム

Windows レガシ (.Net Framework 4.6.1)

公開者

Internal Labs

公開者ページを表示

ライセンス契約とプライバシー条項

ライセンス契約

プライバシー条項

技術情報

バージョン

1.0.0

更新日

2021年9月29日

対応製品

Studio: 19.10 - 22.10

認定

シルバー 認定済み

タグ

アプリケーション

UiPath Studio

サポート

UiPath コミュニティ サポート

類似のコンポーネント