文档

支持

Create Event-based Automations for Unity Asset Manager using Unity Pipeline Automation

Create Automations that trigger pipelines based on specific events in Asset Manager using Pipeline Automation.
阅读时间2 分钟最后更新于 2 个月前

重要
The current version is a beta release. The features and documentation might change between now and the next release.
You can create Event-based Automations that trigger pipelines automatically when specific actions occur in Asset Manager.

Prerequisites

Before you start, make sure you meet the following prerequisites:

Create an event-based automation

To create an event-based automation for Asset Manager using Pipeline Automation:
  1. Sign in to your Unity Cloud account.
  2. In the side navigation bar, select Pipeline Automation > Automations.
  3. Select Create automation. The Automation wizard opens.

Automation wizard

To configure events, filters, and pipeline parameters follow the Automation wizard in a sequential order:
  1. Choose automation type
    1. Select Event-based automation.
    2. Select Next.
  2. Select event
    1. Select Unity Asset Manager as the app to pick one of its events.
    2. Select an event to trigger your pipeline.
    3. Select Next.
  3. Configure filters
    1. Enter values for all the event filters. You can also use an asterisk (
      *
      ) as a wildcard in any of the fields to match all entries. For example, a filter for all assets of type 3D model within a specific project whenever a new version is submitted.
    2. Select Next.
  4. Configure pipeline
    1. Select the pipeline you want to trigger when the event occurs from the dropdown list. The pipeline parameters appear below.
    2. Select Next.
注意
The recommended best practice is to set the applicable fields to accept dynamic values. On the right side of a field, select Enter dynamic value from the dropdown list.
  1. Review automation
    1. Provide a descriptive name for your automation.
    2. Select the existing Automation bot. An Automation bot is required for an automation to run successfully.
    3. Select Create automation.
Your pipeline is now set to run automatically based on the events you defined in the Asset Manager app.
重要
Only an Owner can create an Automation bot (bot).
To create a bot:
  1. In the Review automation step, select + Create bot.
  2. Enter a Name and Description for the bot.
  3. Select Save.
Your bot is created. You can now proceed to create an automation.After your automation is created, follow these steps to give it access to Asset Manager actions:
  1. In the side navigation bar, select Administration > Service accounts.
  2. Select the service account associated with the bot. It has the same name as the bot.
  3. Go to the Organizational roles table, select +Manage organizational roles. The Edit roles in organization form opens.
  4. In the Asset Manager field, select
    Asset Manager Admin
    from the dropdown list.
  5. Select Save.
Your bot is now fully set up for your Asset Manager Automations.