String変数にプロジェクト名を取得する方法

こんにちは、UiPath Studio 2023.8.1 Community Editionを利用中の初心者です。
WF実行中に、String変数にプロジェクト名を取得する方法がありますでしょうか。
あれば、方法を教えてください。

Hi @gorby

Use Get Current Job Info Activity

image

The same way you can get other informations associated to current job running as following

1 Like

Hi @gorby ,
If you assign your variable to environment.currentdirectory when running off of the Orchestrator, the directory it creates "looks like this:

C: \ Users \ username \ .nuget \ packages \ projectname \ projectversion \ lib \ net45

If you want the process name just use split(environment.CurrentDirectory,"\ ")(5)

If you want the package version just use split(environment.CurrentDirectory,"\ ")(6)

Hope this helps!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.