Publish Containing Publish Set Trigger

This trigger is used to publish out publish sets that the asset in workflow is a member of. The trigger can be used in two ways. First, it can publish out all publish sets in a specified container that contains the asset attached to the workflow. Alternatively, it can be used to publish out one particular publish set if it contains the asset in workflow.

Implementation

Declaration

Usage

Parameters

Four parameters may be used to specify which publish set containers get published:

Publish Set Container Path Parameter

This parameter is used to identify a publish set container by its path. Note: the name parameter must be the string 'container-path.'

Publish Set Container Id Parameter

This parameter is used to identify a publish set container by its id. Note: the name parameter must be the string 'container-id'.

Publish Set Path Parameter

This parameter is used to identify a specific publish set by its path. Note: the name parameter must be the string 'path'.

Publish Set Id Parameter

This parameter is used to identify a specific publish set by its id. Note: the name parameter must be the string 'id'.

Adding a Workflow Trigger

The Cascade Server workflow builder utilizes centrally managed triggers.  For a trigger to be available in a workflow created by the Workflow Builder, the trigger must first be defined and assigned a name in the system-wide trigger base.  Defining triggers in this way allows the Java files that contain each trigger’s functionality to be referenced later in the workflow definition.

If a new custom trigger has been written or Cascade Server has been upgraded without including the default database, the new triggers will need to be added before they become available in the Workflow Builder.

To add a workflow trigger:

  1. In the Administration area, select ‘Workflow Definitions’.
  2. Click ‘Manage Workflow Triggers’.
  3. All currently available triggers in the default database are shown, along with the ‘Add a Trigger’ field.
  4. Type in the name of the new trigger and click ‘Submit’.
  5. The new trigger will now appear on the list of available triggers and will be available for use within the Workflow Builder.

manage workflow triggers

Adding a trigger using this interface ensures that the triggers will be defined in all workflows created using the Workflow Builder.  For workflows created without the Workflow Builder, triggers must be defined individually for each workflow.