UiPath Documentation
robot
2023.4
false
Robot 管理ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

アクティビティ フィードについて

注:

プロセスおよびアクティビティ パッケージは v2018.2 以降はユーザーごとにインストールされます。つまり、高密度ロボットは独自のバージョンのアクティビティを使用するようになり、そのマシン上の他のロボットとアクティビティを共有しなくなりました。

To have a specific automation project run by a Robot, firstly you need to provide it with access to the automation package and to the activities that make it up. There are four default activity feeds: Local, Orchestrator, Official, and Go!. The Robot's interaction with a feed depends on the following:

  • フィードの可用性とステート。

  • Orchestrator への接続。

  • パッケージの署名の確認。

  • Studio で設定されたランタイム ルール。

    重要:

    複数のフィードが使用されている場合、NuGet は最も応答が早いフィードを選択します。署名済みのパッケージおよび依存関係が含まれていないフィードがあると、Robot が署名されていないパッケージまたは依存関係を受け取ってオートメーションが失敗する可能性があります。これを回避するには、設定されたすべてのフィードに、署名済みのパッケージおよび依存関係が含まれていることを確認してください。

Orchestrator への接続とフィード インストールの選択に応じて、次の状況が発生する可能性があります。

  • If you choose to install the local feed, the %ProgramFiles%\UiPath\Studio\Packages folder is created. It contains the activity packages that are officially supported by UiPath® at install time. The feed is enabled by default.
  • ローカル フィードをインストールしないことを選択すると、%ProgramFiles%\UiPath\Studio\Packages フォルダーが作成されますが、新しいプロジェクトに既定の依存関係として追加されたパッケージ UiPath.UIAutomation.ActivitiesUiPath.System.ActivitiesUiPath.Excel.ActivitiesUiPath.Mail.Activities のみが含まれます。
  • When you connect the Robot to Orchestrator, a NuGet feed is provided by Orchestrator. It contains the activity packages that are officially supported by UiPath® . The feed is enabled by default and is dependent on your storage settings as follows:
    • NuGet.Repository.TypeLegacy に設定されている場合、アクティビティは既定で ~/NuGetPackages/Activities の場所に保存されます。この値はカスタマイズでき、Orchestrator マシンの web.config ファイルの NuGet.Activities.Path パラメーターで保持されます。

    • NuGet.Repository.TypeComposite に設定されている場合、アクティビティはパラメーター Storage.Type および Storage.Location で指定された場所に保存されます。これらのパラメーターの詳細については、こちらをご覧ください。

      注:

      NuGet.Repository.TypeComposite に設定されている場合、パッケージ専用フォルダーでのコピー アンド ペースト コマンドの使用はサポートされていません。

  • If the Robot is not connected to Orchestrator, nor does it find the required activities in the local feed, the feed https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json can be used. This is the official online UiPath® feed from which the Package Manager in Studio also retrieves its activities. It contains the activity packages that are officially supported by UiPath® . This feed is disabled by default. To enable it, go to Settings > Manage Sources in Studio, and select the corresponding check box. More details about managing activity packages in our Studio guide here.

When you give the execute command to the Robot (be it in the UiPath® Assistant or Orchestrator), it looks for all its dependencies (activities, automation projects) in all available sources, and retrieves them from the one which responds first. Since activities packages can have multiple versions, the runtime rules selected for the packages in Studio are taken into account, as follows:

  • ランタイム ルールとして [ストリクト] を選択した場合、ロボットはそのパッケージに指定された正確なバージョンを検索します。[バージョン] フィールドを 2.5.0 に、[ランタイム ルール] フィールドを [ストリクト] に設定した場合、ロボットはそのパッケージのバージョン 2.5.0 のみを検索します。既存のソースのいずれにもバージョンが見つからない場合、エラーがスローされます。

  • ランタイム ルールとして [最も低い適用可能なバージョン] を選択した場合、ロボットはそのパッケージ以降を検索します。たとえば、[バージョン] フィールドを 2.5.0 に、[ランタイム ルール] フィールドを [最も低い適用可能なバージョン] に設定した場合、ロボットはバージョン 2.5.0 から開始し、2.5.0、2.5.1、2.5.2 などを検索します。既存のソースのいずれにも適用可能なバージョンが見つからない場合、エラーがスローされます。

    You can find out more about project dependencies.

アクティビティ フィードを追加または削除する

Based on the Deployment Type, the Robot uses Activities Feeds in different ways.

重要:
  • 構成ファイルを編集した場合、変更を有効にするには毎回 Robot を再起動する必要があります。

  • NuGet.config からの HTTPS フィードを無視するには、UiPath.config<packageSettings> の下に次の行を追加します。

    <add key="skipHttpConfigurationSources" value="true" />
    <add key="skipHttpConfigurationSources" value="true" />
    

User Mode Robot

Robotユーザー モードでマシンにインストールされている場合、2 つの NuGet.config ファイルが作成されます。1 つはインストール フォルダー内に、もう 1 つのファイルはユーザー プロファイルに紐づけられます (このファイルは %AppData%\NuGet\NuGet.config にあります)。

ユーザー モードの Robot は、両方の NuGet.config ファイルに接続してアクティビティを取得するため、アクティビティ フィードを追加または削除する場合は、どちらのファイルを編集してもかまいません。

アクティビティ フィードを追加または削除するには、NuGet.config ファイルの <packageSources> セクションに Key を追加または削除する必要があります。

ローカル フィードとオンライン フィードの両方を追加できます。

<packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
    <add key="Online Feed" value="https://mycustomfeed.com" />
    <add key="Local Feed" value="C:\local feed" />
</packageSources>
<packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
    <add key="Online Feed" value="https://mycustomfeed.com" />
    <add key="Local Feed" value="C:\local feed" />
</packageSources>

サービス モードの Robot

この種類の Robotinstall folder にある NuGet.config ファイルを確認するため、フィードを追加または削除する場合に編集が必要なのはこのファイルのみです。

  • アクティビティ フィードを追加または削除する
  • ユーザー モードの Robot
  • サービス モードの Robot

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得