Orchestrator
2021.10
false
Banner background image
Orchestrator User Guide
Last updated Apr 19, 2024

Managing Package Requirements

Overview

An RPA journey starts in Studio, the realm of workflows and activities. In designing workflows developers can use various objects, which are typically managed centrally from Orchestrator using folders, thus enabling you to maintain fine-grained control over your automations and the associated objects.

These objects are essential for a successful process execution. Lacking any of the indicated objects prevents the process from executing successfully.

The Package Requirements tab allows you to identify missing objects and manually add them at the process level. This helps with:

  • educating users about process dependencies,
  • reducing manual workflow debugging,
  • identifying missing objects without the need to switch between Studio and Orchestrator UI.



Note: This feature is compatible with processes that have been created using Studio version 2021.10 and later, in conjunction with activity packs version 2021.10 and later.

How Package Requirements Work

When you create a process, Orchestrator inspects the underlying package with all its component .xaml files and aggregates their intrinsic objects, such as:

Depending on whether the respective objects are detected or not, there are two Package Requirements tab behaviors:

  • Tab turns red - the workflow has some dependencies that are not present in Orchestrator, therefore you need to add them.
  • Tab is empty, displaying that "This package version contains no requirements." - as straightforward as it gets, the uploaded package does not have any requirements. Move on.

    Note: We do not automatically detect the requirements for packages stored in external feeds.

Package Requirements Statuses

There are four types of statuses for package requirements:

  • Available - the object is present in Orchestrator. No further action needed.
  • Missing - the object is not present in the current folder in Orchestrator. You can either import it or add it into the corresponding Orchestrator folder, provided you have the proper permissions.
  • Folder not found - the object supposedly exists in an Orchestrator folder that was referenced in the Folder path field of an activity, but:

    • the folder does not exist in Orchestrator. You should add the folder in Orchestrator, use the same name as indicated in the Folder path column, and assign users to it.
    • you do not have access to that folder. You should ask for access to the Orchestrator folder indicated in the Folder Path column.
  • Unknown - the object name could not be determined. No available actions to perform. There are several scenarios which may result in an Unknown status:

    • the object name is set as an expression which is evaluated at runtime;
    • you do not have the correct permissions set for that type of object;
    • a workflow activity references a queue item, for example, which cannot be linked to its queue.

      Note: The unknown status of an object does not prevent the process from executing successfully.

Permissions

To manage package requirements, you need the following permissions:

I want to ...

I need ...

The folder access I need ...

... see the available packages

View permissions on Packages (tenant level)

Not applicable, as Packages permissions are set at tenant level.

... upload a package

Create permissions on Packages (tenant level)

Not applicable, as Packages permissions are set at tenant level.

... see the available objects

View permissions on the specified object

Get access to the folder(s) that contains the object.

... add an object

Create permissions on the specific type of object

Get access to the folder(s) you want to add the object to.

... import an object from a different folder

Create and View permissions on the specific type of object

Get access to:

  • the folder(s) you are importing from, and

  • the folder(s) you are importing the object to.

Managing Missing Objects

For each missing object, except action catalogs and connections, you have the option to add it or to import it in the current folder, provided you have the necessary permissions.

Note: You cannot add action catalogs and connections from the Package Requirements tab in Orchestrator, but from Action Center and Integration Service, respectively.

Adding a Missing Object

Prerequisites: Make sure you have Create permissions on the specific object and access to the folder you want to add the object to.

  1. To add a missing object, click the corresponding Add button. The Create [object] page opens.
  2. Configure the object as needed.
    Note: The name field is prefilled with the missing object name and cannot be edited. This restriction applies to respect the object name used in the workflow.

Importing a Missing Object

If you suspect the missing object exists in the current tenant, but in a different folder, you can import it into the current folder.

Prerequisites: Make sure your have View and Create permissions on the specific object, and access to both the folder you are importing from, and the folder you are importing the object to.

  1. To import an object from a different folder, click the corresponding Import button. The Link [objects] from other folders page opens, displaying two tabs:
  2. If the object exists in other folder(s), it appears on the Select [object] tab. Select it.
  3. Click Continue to navigate to the Folder validation tab.

    After selecting the object, the Folder validation tab displays the source folder(s) you can import from.

  4. If the object exists in multiple folders and you have selected all copies in the previous step, you are now prompted to keep only one source folder.
  5. Remove the object copies associated to the folders that you do not need to import from.
  6. Click Link to import the object into the folder indicated in the Folder Path column.
  7. After adding or importing an object, you are redirected to the Package Requirements tab to continue adding or importing the missing ones. Notice the statuses changed for the objects that have been added or imported.
Important:

In the case of multi-layered process dependencies, Orchestrator detects and shows only the first level dependency for a given process.

For example, process A needs process B to start, and process B needs process C to start. The dependency hierarchy is A > B > C. In this case, when checking package requirements for process A, Orchestrator detects and displays the first level of dependency for it, process B. If process B is missing, you can add it from the Package Requirements tab, but if process C is missing, you need to identify it as missing yourself and add it manually.

Adding Non-Orchestrator Objects

Action Catalogs

Orchestrator detects the action catalogs required to execute the process, but you cannot add the missing ones from the Package Requirements tab, as action catalogs are objects configurable via Action Center.

Prerequisites: Make sure you have Create permissions on the specific object and access to the folder you want to add the object to.

Proceed with the following steps:

  1. Head over to the corresponding Action Center instance.
  2. Access the Admin Settings page.
  3. Select the process folder .
  4. Click Add new catalog. Make sure to use the name detected as missing in the Package Requirements tab.
  5. Click Create.

Connections

Orchestrator detects the connections required to execute the process, but you cannot add the missing ones from the Package Requirements tab, as connections are objects configurable via Integration Service.

There are a couple of ways to add the missing connection:

Creating the connection in Integration Service

  1. Open the Connectors tab.
  2. Select the required connector. The Connections page opens.
  3. Click Add connection to configure the required connection.

Creating the connection using the UiPath Assistant

  1. Open the UiPath Assistant.
  2. On the Home tab, select the process containing the connection requirement.
  3. On the right-side panel, the required connection is displayed. Click on the settings menu.
  4. Select Add new connection. This redirects you to the Integration Service.
  5. Add the missing connection.



Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.