Resource definition

A resource is an item that represents a quantifiable asset, measured in terms of units. You can add resources as dependencies in tasks or workflows.

You can specify any positive integer as resource units and then allocate these units in tasks or workflows. Tasks or workflows that are dependent on the availability of a certain amount of resource units only run when the specified number of units is available.

For example, if you create a resource definition with quantity as 10 units and allocate 5 units to a task, you can run only two instances of that task simultaneously, since a single run needs 5 units of the resource. If you want more instances of the task to run simultaneously, you must either increase the quantity of the resource or decrease the quantity of units specified in the resource dependency of the task. The amount of resource units defined in resource dependencies is not limited by the maximum amount of available resource units. Task or workflow definitions that do not meet their resource dependency requirements are put in HOLD status until the required amount of resource units becomes available.
Note: If you define resources for a subflow task, they override the resources specified for the workflows nested within the task, if any.

Resource definitions can be managed from the Orchestration CLI and from the UI.

For information about how to define resources, see the following topics:.