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

Unattended ロボットをデプロイする - Enterprise ライセンス

Unattended ロボットは、人間の監督を必要としないタスクの自動化に使用され、通常は専用のマシン上にある仮想環境で実行されます。また、オートメーションは Orchestrator から制御されます。

無人オートメーションは必要に応じて Orchestrator から手動で開始できますが、タスクを特定の間隔 (毎日、毎時、毎週など) または特定の日時 (週末など) に開始する必要がある場合には、スケジュールを設定することもできます。

このページでは、Enterprise ライセンスでアクティベーションされた UiPath 製品を使用して、無人オートメーションをはじめて実行する際のプロセスについて説明します。このプロセスには、オートメーションの構築の開始から、環境の設定、無人プロセスの実行までが含まれます。

無人オートメーションを実行するには、以下の手順を行う必要があります。

1. オートメーションを作成して、Orchestrator にパブリッシュする

実際的な例を示すために、毎日午前 9 時にサーバー上にログ ファイルのバックアップを作成する必要があると仮定しましょう。そのためには、その日のログ ファイルを別のフォルダーにコピーする必要があります。この例では、「Logs.txt」という名前のファイルを「Logs」フォルダーから「Old Logs」フォルダーにコピーし、毎回バックアップを上書きします。

  1. 新しいプロセスを作成し、[ファイルをコピー] アクティビティを追加します。フィールド/ファイルへのパスを設定し、[上書き] オプションを選択して、以前のファイルを新規にコピーされたファイルで毎日置き換えるようにします。

  2. プロセスを Orchestrator にパブリッシュします。

  3. Studio のリボンの右のほうにある [パブリッシュ] ボタンをクリックします。

  4. [パッケージのプロパティ] タブで、パッケージ名を入力します。

  5. [パブリッシュのオプション] タブ[パブリッシュ先] オプションで [Orchestrator テナント プロセス フィード] を選択して、Unattended ロボットがオートメーションにアクセスできる場所を指定します。

  6. [パブリッシュ] をクリックします。

    For more information, see About Publishing Automation Projects in the Studio Guide.

  7. Orchestrator で、Unattended ロボットがオートメーションの実行に使用するプロセスを作成します。

  8. https://cloud.uipath.com からお使いの Automation Cloud インスタンスにアクセスし、Orchestrator テナントを選択します。

  9. Orchestrator で、[Shared] フォルダー > [プロセス] の順に選択し、画面右のプラスボタンをクリックして、[プロセスを追加] ページを開きます。

  10. パッケージを選択して [作成] をクリックし、[Shared] フォルダーにプロセスを追加します。

    注:

    このプロセスでは 2 つのエンティティを扱っている点に留意してください。1 つ目のエンティティは、プロセスを作成およびパブリッシュする開発者です。2 つ目のエンティティは、無人マシンでオートメーションとロボットを実行するユーザーです。

2. Unattended ロボットを実行する Windows マシンをセットアップする

Set up a Windows Machine that runs the Unattended Robot, ideally this would be a cloud virtual machine. Make sure that its screen saver functionality is disabled and matches the Hardware and Software Technical Requirements.

For example, you can host your virtual machine on Azure, see the Windows VMs Overview document for details on how to set up a Windows Virtual Machine in Azure.

Other environments such as AWS, VM Ware or Citrix are supported as well if they match the Hardware and Software Technical Requirements.

3. Orchestrator で Unattended ロボットを作成する

Unattended ロボットは、アカウントとジョブを実行するマシンの 2 つのコンポーネントで構成されています。アカウントは権限を付与し、ロボットに対してジョブをトリガーするために使用されるアイデンティティであり、マシンはジョブを実行するための計算能力を提供します。

  1. アカウントを作成および設定します。

  2. Creating the account: For unattended automations, we recommend creating a robot account, which is a service-type identity that does not require an email address. However, if the job must run under a particular user's identity (for permissions or audit purposes), you can opt for creating a user account instead.

  3. Add the account to folders which contain the jobs it needs to run.

  4. マシン テンプレートを作成します。

    注:

    While you could opt to create a single standard machine, for this example we are creating a machine template instead. Machine templates make it easier to deploy several machines by defining the configuration once and then using a single set of client credentials to allow multiple robots to connect to Orchestrator.

  5. In Orchestrator, go to Tenant > Folders.

  6. Select the target folder from the list, and then select the Machines tab.

  7. In the top right, click Manage Machines in Folder.

  8. On the Manage Machines in Folder page, click the Add machine in the top right and select Machine template.

  9. Configure the machine template and assign one unattended runtime only. For detailed instructions, see Adding a machine template.

  10. 後で使用するためにマシン キーをコピーします。

If this machine template should be used to run jobs from several folders, add the machine template you created to all the necessary folders. For instructions, see Assigning machine objects to folders.

4. Unattended マシン上に Robot をインストールする

The UiPathStudio.msi installer is used to install Studio, the UiPath Assistant, or the Robot on your machine. Using the .MSI installer, the Robot is deployed in Service-Mode by default, meaning that it is available to all users on the machine. For running the installer administrator rights are needed.

UiPathStudio.msi インストーラーは、リソース センターから、または Automation Cloud のホーム ページから直接ダウンロードできます。

Robot および Studio は既定で C:\Program Files \UiPath\Studio にインストールされます。コマンド ライン引数を使用するか、インストーラー インターフェイスから、インストールの場所を変更できます。

Step-by-step details on how to install the Robot are found in the Installing the Robot document.

5. Robot を Orchestrator に接続する

注:

If during the installation process you choose to only install the Robot, the connection to Orchestrator can only be configured From the Command Line Interface (admin rights are needed) or from the UiPath Assistant . Otherwise, you can connect your Robot either from Studio or from the UiPath Assistant.

Studio から

インストールが完了すると、[Orchestrator への接続] 画面が表示されます。この画面では既定で、Unattended ロボットに対して推奨される設定である [マシン キーを使用] を使用するように指示されます。マシン名は自動的に入力されます。必要な操作は、Orchestrator の URL と以前に保存したマシン キーを入力するだけです。

注:

.MSI インストーラーを使用して Robot を Orchestrator に接続するときは、現在マシンにログオンしているユーザーだけでなく、マシン全体が接続されます。

UiPath Assistant から

  1. UiPath Assistant を開きます。
  2. [設定] メニューで、[設定] を選択します。[設定] ウィンドウが表示されます。
  3. [Orchestrator の設定] に移動します。
  4. [Orchestrator URL] フィールドに、Orchestrator の Web アドレスを入力します。
  5. [マシン キー] フィールドに、以前にコピーしたキーを入力します。

Click here for details about the different machine entities in Orchestrator and when to use each.

  1. [接続] をクリックします。ステータスに、[Connected, Licensed] と表示されます。

    注:

    Enterprise インストーラー (.MSI) を使用してマシンをセットアップする場合、ロボットは手順 3 で入力された資格情報を使用して独自の Windows セッションを作成できるため、マシンからサインアウトしても構いません。

6. オートメーションをテストする

Unattended ロボットでオートメーションをテストするには、Orchestrator の共有フォルダー[オートメーション] -> [プロセス] セクションに移動し、手順 1 でデプロイしたプロセスを検索します。

プロセスの詳細が表示されます。その右側には、[ジョブの開始] ボタンがあります。

クリックすると、[ジョブの開始] インターフェイスが表示されます。以前に設定したユーザーとマシンを選択し、[開始] をクリックします。

これにより、選択されたマシンで選択された無人プロセスが開始され、Orchestrator の共有フォルダーの [ジョブ] セクションで監視できるようになります。

7. オートメーションのスケジュールを設定する

このガイドの例では、毎日午前 9 時に実行されるようスケジュールできます。これは、Orchestrator の共有フォルダーの [トリガー] セクションで設定できます。

上のスクリーンショットのようにスケジュールを設定すると、選択したユーザーに代わって、毎日午前 9 時 (UTC) に無人マシン上で Logs.Backup プロセスの実行がトリガーされます。

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得