Deployment Manager Action Pack (PCK.AUTOMIC_DM)

This action pack can be used to interact with CDA through its webservice to perform certain operations. Simple functions like assigning a deployment package can be executed. 

Important! Aratools has been desupported in v12 and replaced by this Action Pack.

Deployment Manager Action Pack v1.3.0

The actions that are contained in this action pack are preinstalled with Automic Continuous Delivery Automation.

Supported Platforms and Prerequisites

For more information about supported platforms, see compatibility matrix

Common PromptSets

PromptSet: PCK.AUTOMIC_DM.PRV.PROMPTSET.RM_CONNECTION_SETTINGS

Name

Type

Description

*RM URL

&UC4RB_RM_HOST#

TextElement

Base URL of the RM to connect to.

Example:

  • https://[serverURL]:[CDA Port]/ cda
  • https://localhost:80/cda

Mapping: EXT:@global/CallbackURL

*Username

&UC4RB_RM_USERNAME#

TextElement

Name of the user to authenticate with Release Manager

Examples:

One CDA client:

  • [Client]/[User]/[Department]
  • 100/DOE/ADMIN

More than one client:

  • [SystemName]/[Client]/[User]/[Department]

    You can find the system name in the Automation Engine configuration file.

  • AUTOMIC/100/DOE/ADMIN

Mapping: EXT:@global/user

*Password or Token

&UC4RB_RM_PASSWORD#

TextElement

Password or session token for the RM user

Mapping: EXT:@global/token

PromptSet: PCK.ITPA_SHARED.PRV.PROMPTSET.OVERWRITE_AGENT

Name

Type

Description

Overwrite Agent

&AGENT#

ComboElement

 

Overwrites the default agent.

Overwrite Login

&LOGIN#

ComboElement

 

Overwrites the default login.

This pack includes the following actions:

Add Deployment Target to Component Action

This action adds a Target from the Environment of the Deployment Profile to the Component.

Additional Notes:

  • All DeploymentProfileTarget entities are stored before manipulation and restored if there is rollback.
  • If the input component is empty, the Target is assigned to all components of the Profile.
  • Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

*Deployment Profile

&UC4RB_RM_PROFILE_NAME#

TextElement

ID or name of the Profile

Application

&UC4RB_RM_APP_NAME#

TextElement

The ID or name of the Application. Required if the Deployment Profile is not the ID.

*Deployment Target

&UC4RB_RM_TARGET#

TextElement

ID or name of the Target. I must belong to the relevant environment of the Profile.

Component

&UC4RB_RM_COMPONENT#

TextElement

The name or ID of the component to which the Target is assigned. If empty, the Target is assigned to all the Components of the Profile.

Archive Entity Action

This action archives objects in CDA/Deployment Manager. It has the same effect as clicking the "Archive" button on an object in CDA. This function can archive multiple objects at once. For additional filters, see CLI Commands for CLI in the Referencedocumentation.

Additional Notes:

Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

*Main Type

&UC4RB_RM_MAIN_TYPE#

TextElement

MainType of the entities to be archived. Typically this is used for executions.

Custom Type

&UC4RB_RM_CUSTOM_TYPE#

TextElement

CustomType to be archived.

Object ID or Name

&UC4RB_RM_NAME#

TextElement

Name or ID of the entity to be archived.

Owner

&UC4RB_RM_OWNER#

TextElement

Archives the entities with this owner.

Folder

&UC4RB_RM_FOLDER#

TextElement

Archives the entities that are stored in this Release Manager folder.

Start Date

&UC4RB_RM_START#

TextElement

Archives entities which were created or changed since this date.

End Date

&UC4RB_RM_END#

TextElement

Archives entities which were created or changed until this date.

Additional Conditions

&UC4RB_RM_CONDITIONS#

TextElement

Comma-separated list of where-clauses that are passed to the import/export-interface to select the entities.

Assign components to deployment targets Action

This action assigns Components to all Targets that match the type of the given Component.

Additional Notes:

  • All Deployment Targets are stored before manipulation and are restored if there is rollback.
  • If the input Component is empty, the assignment is done for all the components that are related to the Application and the Deployment Profile.
  • Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

*Deployment Profile

&UC4RB_RM_PROFILE_NAME#

TextElement

The ID or name of the Profile.

Application

&UC4RB_RM_APP_NAME#

TextElement

The ID or name of the Application.

Components

&UC4RB_RM_COMPONENTS#

TextElement

Comma-separated list of component names. If empty, auto assignment is done for all components

ClosedOutput Values

Name

&UC4RB_OUT_ASSIGNED#

Config File Customization Action

This action customizes your configuration files in your component Workflow based on the replacement description in the Deployment Manager.

Additional Notes:

The replacement rules are described as a set of dynamic properties.

  • To set up the config file adaptation, perform the following steps:

    1. Drag & drop this action to your Workflow.
    2. Define the Replacement strategy with one of the following parameters:
      • ini: updates/creates variables in an INI file.
      • java properties: updates/creates variables in a java .properties file.
      • xml: updates XML elements or attributes in an XML file. The patterns are matched by xpath-expressions.
      • string: arbitrary text patterns (based on exact matches) are replaced by another text.
      • regex: arbitrary text patterns (defined by regular expressions) are replaced by another text. The regex search mechanism is gredy, meaning, that the shortest text matching the regular expression is replaced.
    3. The adaptation process is managed by a set of dynamic properties in the Deployment Manager. The dynamic properties should be defined in a separate namespace on the component. Provide the namespace as parameter 'Config namespace' to this action. The action extracts the mappings from the dynamic properties and carries out all replacements. See below the examples of how the dynamic properties should be defined.
  • Basepath and Relative filepath:

    The filepath is a relative location to the 'Basepath'. Internally an absolute path is calculated based on the concatenation of 'Basepath'/'Relative filepath'. Example: to match all INI files in the config subfolder of the Application staging directory (absolute path: c:\temp\myapp\config\*.ini):

    Basepath = c:\temp\myapp\

    Relative filepath = config\*.ini

    You may use * or ** to match multiple directories or files:

    • *: Matches any characters up to the next slash. For example: */*/configfile* collects any files starting with the name "configfile" in any subdirectory with depth 2

    • **: Matches any characters. For example: **/myfolder/myConfig.ini collects any myConfig.ini files in any subdirectory named "myfolder".

  • Customization within an archive:

    This function can also be used to customize files within zip archives.

    Supported file endings are:

    • .zip
    • .war
    • .ear
    • .jar
    • .sar
    1. Set the 'Basepath' to the directory containing the zip file.
    2. Configure the Relative filepath to point to the archive and the config files that should be adopted.
    3. Set the 'Basepath' to the directory containing the zip file.
    4. Configure the Relative filepath to point to the archive and the config files that should be adopted.
      • To adopt a config.xml within an archive called archive.zip:

        Basepath: /path/to/folder/with/the/archive

        Relative filepath: archive.zip/config.xml

      • To adopt all config.xml within the archive the Relative filepath must be changed to **/config.xml.
      • You may point to a (set of) configuration files inside a .war, .ear, .jar, .zip, .sar file. In that case, the file is temporarily unpacked, changed, and repacked again.

        Syntax to match, for example, all INI files in the config subdirectory of a zip file: myApplicationComponents/myfile.zip/config/*.ini

  • Customization of *.ini-files:

    Let usassume, your INI file is as follows:

    [GLOBAL]

    cmd="javaw" -xXmx1024m -Dsun.locale=true

    path=.

    title=myTitle

    [ENVIRONMENT]

    classpath=.;.\ucdj.jar

    1. Set up the following dynamic properties in a namespace "/config_adaptation/ini/" in the Deployment Manager:

      /config_adaptation/ini/cmd_replace: cmd=>"java" -Xmx512m

      /config_adaptation/ini/env_replace: ENVIRONMENT.classpath => .;.\ucdj.jar;.\myLib.jar

      /config_adaptation/ini/snd_create: SPLASH.sound=>uc4.wav

      /config_adaptation/ini/title_remove: title =>

    2. Set the parameters of the runbook function as follows:

      • Replacement strategy: INI
      • Config namespace: /config_adaptation/ini/
      • Basepath: c:\myProduct\
      • Relative filepath: myConfig.ini
      • Key Value separator: =>
    3. Based on this setup, the following replacements are carried out:

      • The value of cmd_replace in section [GLOBAL] is updated to value "java" -Xmx512m.
      • The value of classpath in section [ENVIRONMENT] is updated to value .;\ucdj.jar;myLib.jar.
      • A new variable sound in a new section [SPLASH] is created with the value uc4.wav.
      • The value of the variable title in section [GLOBAL] is removed. The variable itself is not removed.
  • Customization of java *.properties files:

    The key and element characters $, #, !, =, and : in the properties that are added or updated are automatically escaped with a preceding backslash.

    Let us assume your java properties file is as follows:

    l1.l2.value=myValue

    myVariable=myOldValue

    1. Set up the following dynamic properties in a namespace /config_adaptation/java/ in the deployment manager:

      /config_adaptation/java/replace1: l1.l2.value =>

      /config_adaptation/java/replace2: myVariable => myNewValue

    2. Set the parameters of the runbook function as follows:

      • Replacement strategy: JAVA PROPERTIES
      • Config namespace: /config_adaptation/java/
      • Basepath: c:\myProduct\
      • Relative filepath: myConfig.properties
      • Key Value separator: =>
    3. Based on this setup, the following replacement is carried out:

      The value of myVariable is updated to value myValue. If the variable does not exist, a new one is created.

  • Customization of XML files:

    This action can update attributes or the content of a node in an XML file. Creating new attributes or nodes is not supported.

    Important! Namespaced XML files are not supported.

    Let us assume your XML file is as follows (XML declaration is required):

    <?xml version="1.0"?>

    <connection>

    <add key="SMTPServer.Host" value="" />

    <add key="SMTPServer.Port" value="25" />

    <add key="SMTPServer.User" value="" />

    <add key="SMTPServer.Password" value="" />

    <add key="SMTPServer.EnableSSL" value="true" />

    </connection>

    1. Set up the following dynamic properties in a namespace /config_adaptation/xml/ in the deployment manager:

      /config_adaptation/xml/smtp_update_port: //connection/add[@key="SMTPServer.Port"]/@value=>80

      /config_adaptation/xml/smtp_update_host: //connection/add[@key="SMTPServer.Host"]/@value=>192.168.44.20

      /config_adaptation/xml/smtp_update_enable_ssl: //connection/add[@key="SMTPServer.EnableSSL"]=>new content

      /config_adaptation/xml/smtp_update_password: //connection/add[@key="SMTPServer.Password"]/@value=>password (Set this dynamic property as Protected)

    2. Set the parameters of the runbook function as follows:

      • Replacement strategy': XML
      • Config namespace: /config_adaptation/xml/
      • Basepath: c:\myProduct\
      • Relative filepath: web.config
      • Key Value separator: =>
    3. Based on this set-up, the following replacements are carried out:

      • The attribute value of the element with name "SMTPServer.Port" is set to "80"
      • The attribute value of the element with key "SMTPServer.Host" is set to "192.168.44.20"
      • The content of the element with key "SMTPServer.EnableSSL" is set to "new content"
      • The attribute value of the element with key "SMTPServer.Password" is set to "the decrypted password". The password is not included in any report but only in the XML file

        <?xml version="1.0"?>

        <connection>

        <add key="SMTPServer.Host" value="192.168.44.20" />

        <add key="SMTPServer.Port" value="80" />

        <add key="SMTPServer.User" value="" />

        <add key="SMTPServer.Password" value="the decrypted password" />

        <add key="SMTPServer.EnableSSL" value="true" >new content</add>

        </connection>

  • String replacements:

    Use the text replacement mechanism to update arbitrary parts of a text file. The patterns are treated as strings, not as regular expressions.

    1. Set up the following dynamic properties in a namespace /config_adaptation/string/ in the deployment manager:

      /config_adaptation/string/replace1: my-pattern=>myValue

      /config_adaptation/string/replace2: DataSource=DATA_SOURCE => DataSource=localhost:1443

    2. Set the parameters of the runbook function as follows:

      • Replacement strategy: STRING
      • Config namespace: /config_adaptation/string/
      • Basepath: c:\myProduct\
      • Relative filepath: web.txt
      • Key Value separator: =>
    3. Based on this set-up, the following replacements are carried out:

      • All occurrences of the string my-pattern are replaced by myValue
      • All occurrences of the string DataSource=DATA_SOURCE is replaced by DataSource=localhost:1433
  • Replacements based on regular expressions:

    Use the 'regex' replacement mechanism to update arbitrary parts of a text file that is matched by a regular expression pattern.

    1. Set up the following dynamic properties in a namespace /config_adaptation/regex/ in the deployment manager:

      /config_adaptation/regex/replace1: ^.*example.*$ => my-new-value

      /config_adaptation/regex/replace2: DataSource=DATA_SOURCE => DataSource=localhost:1443

    2. Set the parameters of the runbook function as follows:

      • Replacement strategy: REGEX
      • Config namespace: /config_adaptation/string/
      • Basepath: c:\myProduct\
      • Relative filepath: web.txt
      • Key Value separator: =>
    3. Based on this setup, the following replacements are carried out:

      • All occurrences of the regular expression ^.*example.*$ are replaced by my-new-value
      • All occurrences of the string DataSource=DATA_SOURCE are replaced by DataSource=localhost:1433
  • Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

Replacement strategy

&UC4RB_CUSTOMIZE_STRATEGY#

ComboElement (INI, JAVA PROPERTIES, REGEX, STRING, XML)

Specifies which type of replacements will be carried out.

Default: STRING

*Component Name

&UC4RB_COMPONENT_NAME#

TextElement

Name of the component in the deployment manager which has the dynamic properties with the replacements.

Default: EXT:/system/name

Mapping: EXT:/system/name

Target Name

&UC4RB_TARGET_NAME#

TextElement

Default: EXT:@Target/system/name

Mapping: EXT:@Target/system/name

*Config Namespace

&UC4RB_CUSTOMIZE_NAMESPACE#

TextElement

Namespace in the Release Manager where the replacement patterns can be found. For example: /customize_config/ini/

*Basepath

&UC4RB_CUSTOMIZE_BASEPATH#

TextElement

Basepath pointing to the staging directory of the Application by default.

*Relative Filepath&UC4RB_CUSTOMIZE_REL_FILEPATH#

TextElement

Points to the config files to be replaced. The filepath is a relative location to the 'Basepath'.

Key-Value separator

&UC4RB_CUSTOMIZE_KEYVAL_SEP#

TextElement

Defines the separator between key-value pairs.

Overwrite Default File Encoding

&UC4RB_XML_ENCODING#

TextElement

Overwrites the default java file.encoding argument

Create Deployment Package Action

This action creates a Deployment Package in the specified Release Manager, setting its name, owner, Application, Application version, and the unique revision.

Additional Notes:

  • If the revision is not unique, the function stops with an error.
  • Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

*Package name

&UC4RB_RM_PACKAGE_NAME#

TextElement

Name of the created package

*Application Name or ID

&UC4RB_RM_PACKAGE_APP#

TextElement

Name or id of the Application that is attached to the created Package

*Owner

&UC4RB_RM_PACKAGE_OWNER#

TextElement

Owner of the created package. Case sensitive.

*Folder

&UC4RB_RM_PACKAGE_FOLDER#

TextElement

Folder to determine permissions of the Package created.

*Type

&UC4RB_RM_PACKAGE_CTYPE#

TextElement

Type of the Package created.

ClosedOutput Values

Name

Description

&UC4RB_RM_OUT_PACKAGE_ID#

The ID of the Package created

Create Deployment Profile Action

This action creates a Deployment Profile for a given Application and Environment. The Application Components will be automatically mapped to matching Targets of the Environment.

Additional Notes:

Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

*Name

&UC4RB_RM_PROFILE_NAME#

TextElement

The name of the Profile to create.

*Environment

&UC4RB_RM_ENV_ID#

TextElement

The environment to use.

*Application

&UC4RB_RM_APP_ID#

TextElement

The Application for which the Profile is used.

Owner

&UC4RB_OWNER#

TextElement

The owner of the environment to create (CLIENT/USERNAME/DEPARTMENT)

Note: If empty, the connecting user is taken. Case sensitive.

*Folder

&UC4RB_RM_FOLDER#

TextElement

The folder of the Profile.

Login

&UC4RB_RM_LOGIN#

TextElement

The login object to use.

Note: if omitted, the default login is used.

Fail if exists

&UC4RB_RM_FAIL_EXISTS#

RadioGroupElement (NO, YES)

Indicates if the job fails (provided the Profile exists).

Default: NO

ClosedOutput Values

Name

Description

&UC4RB_RM_OUT_PROFILE_ID#

The object ID of the newly created deployment Profile.

&UC4RB_RM_IS_PROFILE_EXIST#

 

&UC4RB_BACKUP_DIRECTORY#

 

Create Deployment Target Action

This action creates a Deployment Target in CDA/Deployment Manager.

Additional Notes:

  • The agent assignment and the assignment to an existing environment are optional.
  • Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

*Name

&UC4RB_RM_TARGET_NAME#

TextElement

The name of the Target to create.

*Folder

&UC4RB_RM_FOLDER#

TextElement

The folder of the Target to create.

Owner

&UC4RB_OWNER#

TextElement

The owner of the Target to create (CLIENT/USERNAME/DEPARTMENT)

Note: If empty, the connecting user is taken. Case sensitive.

*Type

&UC4RB_RM_CUSTOM_TYPE#

TextElement

The custom type of the Target.

Environment

&UC4RB_RM_ENV_ID#

TextElement

The Environment to which the Target belongs.

Agent

&UC4RB_RM_AGENT_ID#

TextElement

The agent is used to execute jobs on this Target.

Fail if existing

&UC4RB_RM_FAIL_EXISTS#

RadioGroupElement (NO, YES)

Indicates if the job must fail if the Target already exists.

Default: NO

ClosedOutput Values

Name

Description

&UC4RB_RM_OUT_TARGET_ID#

The object ID of the newly created Deployment Target.

&UC4RB_RM_IS_TARGET_EXIST#

 

&UC4RB_BACKUP_DIRECTORY#

 

Create Environment Action

This action creates an empty Environment object in CDA/Deployment Manager.

Additional Notes:

Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

*Name

&UC4RB_RM_ENV_NAME#

TextElement

The name of the Environment to be created.

*Folder

&UC4RB_RM_FOLDER#

TextElement

The folder of the Environment to be created

Owner

&UC4RB_RM_OWNER#

TextElement

The owner of the Environment to be created (CLIENT/USERNAME/DEPARTMENT)

Note: If empty, the connecting user is taken. Case sensitive.

*Type

&UC4RB_RM_CUSTOM_TYPE#

TextElement

The Custom Type of the Environment to be created

Login

&UC4RB_RM_LOGIN#

TextElement

The login object to use.

Note: if omitted, the default login is used.

Fail if existing

&UC4RB_RM_FAIL_EXISTS#

RadioGroupElement (NO, YES)

Indicates if the job must fail if the Environment already exists.

Default: NO

ClosedOutput Values

Name

&UC4RB_RM_OUT_ENVIRONMENT_ID#

Create Package Action

This action creates a Package in the specified Deployment Manager and sets its name and owner.

Additional Notes:

Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

Type

&UC4RB_RM_PACKAGE_CTYPE#

TextElement

Custom Type of the package to be created.

*Folder

&UC4RB_RM_PACKAGE_FOLDER#

TextElement

Folder to define permissions of the created Package.

*Name

&UC4RB_RM_PACKAGE_NAME#

TextElement

Name of the package to be created.

*Owner

&UC4RB_RM_PACKAGE_OWNER#

TextElement

Owner of the created package. Case sensitive.

ClosedOutput Values

Name

Description

&UC4RB_RM_OUT_PACKAGE_ID#

The ID of the created Package

Delete Multiple Objects Action

This action deletes a single object from the Deployment Manager.

Additional Notes:

  • If the object cannot be defined uniquely the function fails.
  • Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

Object Type

&UC4RB_RM_DELETE_TYPE#

ComboElement (Application, Component, DeploymentProfile, DeploymentTarget, DynamicProperty, Environment, Package, Reservation, Workflow)

Main Type of the object to be deleted.

*Name or ID

&UC4RB_RM_DELETE_ID#

TextElement

Name or ID of the object to be deleted.

Fail if missing

&UC4RB_RM_DELETE_FAIL_MISSING#

RadioGroupElement (NO, YES)

Indicates if the function must fail if the object cannot be found.

Default: NO

ClosedOutput Values

Name

Description

&UC4RB_RM_OUT_DELETED#

1=successful deletion of object; 0 = no object deleted

Delete Object Action

This action deletes a single object from the Deployment Manager.

Additional Notes:

  • If the object cannot be defined uniquely the function will fail.
  • Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

Object Type

&UC4RB_RM_DELETE_TYPE#

ComboElement (Application, Component, DeploymentProfile, DeploymentTarget, DynamicProperty, Environment, Package, Reservation, Workflow)

Main Type of the object to be deleted.

*Name or ID

&UC4RB_RM_DELETE_ID#

TextElement

Name or ID of the object to be deleted.

Fail if missing

&UC4RB_RM_DELETE_FAIL_MISSING#

RadioGroupElement (NO, YES)

Indicates if the function must fail if the object cannot be found.

Default: NO

ClosedOutput Values

Name

Description

&UC4RB_RM_OUT_DELETED#

1=successful deletion of object; 0 = no object deleted

Execute Application Workflow Action

This action is used to trigger an Application Workflow in the Deployment Manager/CDA.

Additional Notes:

  • To set the Workflow to execute right away, leave the Start Date empty (click on the input field label to switch to the developer mode and leave the field empty).
  • Rollback is disabled for this action.
  • When executing a Workflow containing this action, you can enter prompt variables as key-value pairs in JSON format to overwrite the existing values.

ClosedInput Values

Name

Type

Description

*Workflow Name

&UC4RB_WORKFLOW_NAME#

TextElement

Name of the Workflow to be started.

*Application Name

&UC4RB_APPLICATION_NAME#

TextElement

Name of the Application.

*Package Name

&UC4RB_PACKAGE_NAME#

TextElement

Name of the Package.

*Profile Name

&UC4RB_PROFILE_NAME#

TextElement

Name of the Deployment Profile.

Start Mode

&UC4RB_START_MODE#

RadioGroupElement (NOW, AT)

Indicates if the Workflow must be executed immediately or at a specific date/time.

Default: AT

Start Date

&UC4RB_START_DATE#

TimeStampElement

Date when the Workflow must be started.

Default: 2015-01-01 00:00:00

Needs manual Start

&UC4RB_MANUAL_START#

RadioGroupElement (NO, YES)

Indicates if the execution must be started manually.

Default: NO

Manual Executor

&UC4RB_MANUAL_EXECUTOR#

TextElement

Name of the manual executor

Skip if installed

&UC4RB_SKIP_IF_INSTALLED#

RadioGroupElement (NO, YES)

Skip Targets if Package is installed.

Default: NO

Queue

&UC4RB_RM_QUEUE#

TextElement

Queue in which the workflow gets executed. If omitted, the parent queue is used

Prompt Dynamic Properties

&UC4RB_PROMPT_PROPERTIES#

TextElement

A JSON array of Dynamic properties (Main Type, Entity Name, Full Name, Value).

Example: [{"mainType"."Workflow"."entityName"."Deploy"."fullName"."/prompts/property_name"."value"."property value"}]

ClosedOutput Values

Name

&UC4RB_RM_OUT_EXECUTION_ID#

Execute General Workflow Action

This action creates an Execution Object in the RM to execute an AE Workflow with RM properties.

Additional Notes:

Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

*Workflow Name

&UC4RB_WORKFLOW_NAME#

TextElement

The name of the Workflow that will be started.

Needs manual start

&UC4RB_MANUAL_START#

RadioGroupElement (NO, YES)

Indicates if the start must be triggered manually.

Start Mode

&UC4RB_START_MODE#

RadioGroupElement (NOW, AT)

Indicates if the Workflow must be executed immediately or at a specific date/time.

Default: AT

Start Date

&UC4RB_START_DATE#

TimeStampElement

Date and Time when the Workflow must be started.

Manual Executor

&UC4RB_MANUAL_EXECUTOR#

TextElement

Name of the manual executor.

Queue

&UC4RB_RM_QUEUE#

TextElement

Queue in which the Workflow gets executed. If omitted the parent queue will be used.

Dynamic Properties

&UC4RB_DYN_PROPS#

TextElement

Optional dynamicproperties prompted on Workflow execution as comma-separated list of key-value pairs separated by '=' For example: /dynprop/name=value,/dynprop/name2=value2"

ClosedOutput Values

Name

&UC4RB_RM_OUT_EXECUTION_ID#

Export XML File Action

This action calls the Export API function of CDA/Deployment Manager and passes an XML file.

Additional Notes:

Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

*XML File

&UC4RB_RM_XML_FILE#

TextElement

Name of the XML file to export

*Main Type

&UC4RB_RM_MAIN_TYPE#

ComboElement Name of the main type of the entities to export
Properties

&UC4RB_RM_PROPERTIES#

TextElement

Array of properties to export, separated by comma.

Notes:

  • All properties are exported by default. When exporting n-to-m relations, only identity properties of the respective entities are exported.
  • When specifying properties which only exist in some custom types, CDA returns an empty value for those entities which do not hold this property.
Where

&UC4RB_RM_CONDITIONS#

TextElement Where condition. The file is only exported if a certain condition is fulfilled.
Begin

&UC4RB_RM_BEGIN#

Integer

Index of the entity to begin the export from.

Note: If not set, the export begins with the first entity (index number of the first entity is 0).

Count

&UC4RB_RM_COUNT#

Integer

Number of entities to export

Max. number: 1000

Note: If not set, all entities are exported.

Get Dynamic Property Action

This action retrieves the value of a specified Dynamic Property in CDA/Deployment Manager.

Additional Notes:

  • You can either specify an object ID or an object name together with object type.
  • If you use an object ID, the type can be omitted. This function only works with Dynamic Properties and not with Properties. Example for a dynamic property: "/system/name". Example for a Property: "system_name".
  • Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

*Name

&UC4RB_RM_NAME#

TextElement

The name of the dynamic property without the namespace.

Namespace

&UC4RB_RM_NAMESPACE#

TextElement

The namespace of the dynamic property.

*Object Name

&UC4RB_RM_OBJ_NAME#

TextElement

The name of the object on which the dynamic property is defined.

Object Type

&UC4RB_RM_OBJ_TYPE#

TextElement

The main type of the object on which the dynamic property is defined.

Fail if missing

&UC4RB_RM_FAIL_MISSING#

RadioGroupElement (NO, YES)

Indicates if the job must fail when the property is missing.

Default: YES

ClosedOutput Values

Name

Description

&UC4RB_RM_OUT_DYN_VALUE#

The dynamic property value.

Get Property Action

This action gets a single property from a specified object within the Deployment Manager/ARA.

Additional Notes:

  • This action only works (Custom) Properties.
  • A sample of a Property name: "system_name" which represents the name and is available for every object.
  • The action may fail if the defined property is missing.
  • If more than one Object is found, a specific error occurs and the function is stopped.
  • A Package can only be uniquely identified by their ID, not their name.
  • Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

Object Type

&UC4RB_RM_MAIN_TYPE#

ComboElement (Application, Component, DeploymentProfile, DeploymentTarget, DynamicProperty, Environment, Package, Reservation, Workflow)

Main type of the entity, for example: "Package", "Application".

*Object Name or ID

&UC4RB_RM_ENTITY_ID#

TextElement

Name or ID of the entity.

*Property

&UC4RB_RM_PROP_NAME#

TextElement

Name of the property to get.

Fail if missing

&UC4RB_RM_FAIL_MISSING#

RadioGroupElement (NO, YES)

Specifies if the function must fail if the property does not exist.

Default: YES

ClosedOutput Values

Name

Description

&UC4RB_RM_OUT_PROP_VALUE#

Value of the selected Property

Import XML File Action

This action calls the Import API function of CDA/Deployment Manager and passes the given XML file.

Additional Notes:

Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

*XML File

&UC4RB_RM_XML_FILE#

TextElement

Name of the XML file to import

Move Object to Folder Action

This action sets the folder of a specific object.

Additional Notes:

Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

Object Type

&UC4RB_RM_FOLDER_TYPE#

ComboElement (Application, Component, DeploymentProfile, DeploymentTarget, DynamicProperty, Environment, Package, Reservation, Workflow)

Main Type of the object, where the folder shall be set.

*Object Name or ID

&UC4RB_RM_FOLDER_ID#

TextElement

Name or ID of the object where the folder must be set.

*Folder

&UC4RB_RM_FOLDER#

TextElement

Name of the folder

ClosedOutput Values

Name

&UC4RB_RM_ROLLBACK_FOLDER#

Remove Deployment Target from Component Action

This action removes a Target/ all Targets from a specific Components/ all Components

Additional Notes:

  • All Deployment Target entities are stored before manipulation and is restored in case of rollback.
  • Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

*Deployment Profile

&UC4RB_RM_PROFILE_NAME#

TextElement

ID or name of the Profile.

Application

&UC4RB_RM_APP_NAME#

TextElement

The ID or name of the Application. Required if Deployment Profile is not the ID.

Deployment Target

&UC4RB_RM_TARGET#

TextElement

ID or name of the Target. If empty, all Targets are removed for the given Component.

Component

&UC4RB_RM_COMPONENT#

TextElement

The name or ID of the component. If empty, the specified Targets (or all) are removed from the Profile.

ClosedOutput Values

Name

&UC4RB_OUT_REMOVED#

Remove Deployment Target from Environment Action

This action removes a Target/all Targets from a specific components/all components.

Additional Notes:

Rollback is disabled for this action.

All DeploymentProfileTarget entities are stored before manipulation and will be restored in case of rollback.

ClosedInput Values

Name

Type

Description

*Deployment Target

&UC4RB_RM_TARGET#

TextElement

ID or name of the Target.

*Environment

&UC4RB_RM_ENV_NAME#

TextElement

The name of the environment from which the Deployment Target will be removed.

Set Dynamic Property Action

This action sets the value of a given Dynamic Property in CDA/Deployment Manager.

Additional Notes:

  • This function only works with Dynamic Properties and not with Properties. Example for a dynamic property: "/system/name". Example for a Property: "system_name".
  • If the Dynamic Property does not exist, it will be created.
  • Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

*Name

&UC4RB_RM_NAME#

TextElement

The name of the dynamic property.

Namespace

&UC4RB_RM_NAMESPACE#

TextElement

The namespace of the dynamic property.

*Value

&UC4RB_RM_VALUE#

TextElement

The value of the dynamic property.

Value Type

&UC4RB_RM_VALUE_TYPE#

ComboElement (Expression, Prompt, Static)

The value type of the dynamic property.

Property Type

&UC4RB_RM_TYPE#

ComboElement (Float, List, Protected, Short Text, Single Line Text)

The property type of the dynamic property.

*Object ID or Name

&UC4RB_RM_OBJ_NAME#

TextElement

The name or id of the object on which the property is defined.

Object Type

&UC4RB_RM_OBJ_TYPE#

ComboElement (Application, Component, DeploymentProfile, DeploymentTarget, DynamicProperty, Environment, Package, Reservation, Workflow)

The main type of the object on which the property is defined.

Highlighted

&UC4RB_RM_HIGHLIGHTED#

RadioGroupElement (NO, YES)

Indicates if the property should be highlighted.

Default: NO

Fail if existing

&UC4RB_RM_FAIL_EXISTS#

RadioGroupElement (NO, YES)

Indicates if the job must fail if the property already exists.

Default: NO

Fail if type differs

&UC4RB_RM_FAIL_DIFFERS#

RadioGroupElement (NO, YES)

Indicates if the job must fail if the value type differs.

Default: YES

ClosedOutput Values

Name

&UC4RB_RM_IS_DP_CREATED#

&UC4RB_RM_IS_DP_EXIST#

&UC4RB_BACKUP_DIRECTORY#

Set Owner Action

This action sets the owner of a specific object.

Additional Notes:

Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

Object Type

&UC4RB_RM_OWNER_TYPE#

ComboElement (Application, Component, DeploymentProfile, DeploymentTarget, DynamicProperty, Environment, Package, Reservation, Workflow)

Main Type of the object where the owner is set.

*Object Name or ID

&UC4RB_RM_OWNER_ID#

TextElement

Name or ID of the object where the owner is set.

*Owner

&UC4RB_RM_OWNER#

TextElement

Name of the owner (can be a user group too). Case sensitive.

ClosedOutput Values

Name

&BACKUPKEY#

Set Package State Action

This action sets the state of a specified package using its ID.

Additional Notes:

Rollback is enabled for this action.

ClosedInput Values

Name

Type

Description

*Package ID

&UC4RB_RM_PACKAGE_ID#

TextElement

ID of the package.

*New State

&UC4RB_RM_NEW_STATE#

TextElement

New state for the package.

Current State

&UC4RB_RM_CURRENT_STATE#

TextElement

The current state of package. If specified, the new state is only set if the current state matches.

If Current State not matching

&UC4RB_RM_FAIL#

ComboElement (FAIL, SKIP)

Only applies if Current State is supplied.

Options:

  • Fail = the job fails and the execution stops
  • Skip = end ok without setting the new state.

ClosedOutput Values

Name

Description

&UC4RB_RM_OUT_PACKAGE_STATE#

The new state of the package. This can be the supplied New State or the Current State if the state was not changed due to "Current State" conditions.

&BACKUPKEY#

 

Set Property Action

This action sets a Property of a specified object in the Deployment Manager/ARA.

Additional Notes:

  • This action only works (Custom) Properties.
  • A sample of a Property name: "system_name" which represents the name and is available for every object.
  • If the object is not uniquely defined the function stops with an error.
  • A Package and can only be uniquely identified by their ID, not their name.
  • Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

Object Type

&UC4RB_RM_MAIN_TYPE#

ComboElement (Application, Component, DeploymentProfile, DeploymentTarget, DynamicProperty, Environment, Package, Reservation, Workflow)

Main type of the object.

*Object Name or ID

&UC4RB_RM_ENTITY_ID#

TextElement

Name or ID of the object.

*Property

&UC4RB_RM_PROP_NAME#

TextElement

Name of the Property to be set.

Value

&UC4RB_RM_PROP_VALUE#

TextElement

Value of the Property to be set.

ClosedOutput Values

Name

&UC4RB_RM_ROLLBACK_PROPV#

Synced Execute Application Workflow Action

This action creates an Execution Object in the RM in order to execute an Application Workflow with RM properties.

Additional Notes:

Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

*Workflow Name

&UC4RB_WORKFLOW_NAME#

TextElement

Name of the Workflow to be started.

*Application Name

&UC4RB_APPLICATION_NAME#

TextElement

Name of the Application.

*Package Name

&UC4RB_PACKAGE_NAME#

TextElement

Name of the Package.

*Profile Name

&UC4RB_PROFILE_NAME#

TextElement

Name of the Deployment Profile.

Start Date

&UC4RB_START_DATE#

TimeStampElement

Date when the Workflow must be started.

Default: 2015-01-01 00:00:00

Needs manual Start

&UC4RB_MANUAL_START#

RadioGroupElement (NO, YES)

Indicates if the execution must be started manually.

Default: NO

Manual Executor

&UC4RB_MANUAL_EXECUTOR#

TextElement

Name of the manual executor.

Skip if installed

&UC4RB_SKIP_IF_INSTALLED#

RadioGroupElement (NO, YES)

Skip Targets if Package installed.

Default: NO

Queue

&UC4RB_RM_QUEUE#

TextElement

Queue in which the workflow gets executed. If omitted, the parent queue is used.

ClosedOutput Values

Name

&UC4RB_RM_OUT_EXECUTION_ID#

Synced Execute General Workflow Action

This action creates an Execution Object in the RM in order to execute an AE Workflow with RM properties.

Additional Notes:

Rollback is disabled for this action.

ClosedInput Values

Name

Type

Description

*Workflow Name

&UC4RB_WORKFLOW_NAME#

TextElement

The name of the Workflow to be started.

Needs manual start

&UC4RB_MANUAL_START#

RadioGroupElement (NO, YES)

Indicates if the start must be triggered manually.

Start Date

&UC4RB_START_DATE#

TimeStampElement

Date and Time when the Workflow must be started.

Manual Executor

&UC4RB_MANUAL_EXECUTOR#

TextElement

Name of the manual executor.

Queue

&UC4RB_RM_QUEUE#

TextElement

Queue in which the Workflow gets executed. If omitted, the parent queue is used.

Dynamic Properties

&UC4RB_DYN_PROPS#

TextElement

Optional dynamic properties prompted on Workflow execution as comma-separated list of key-value pairs separated by '='. For example: /dynprop/name=value,/dynprop/name2=value2"

ClosedOutput Values

Name

&UC4RB_RM_OUT_EXECUTION_ID#

Wait for Execution Completion Action

This action creates an Execution Object in the RM in order to execute an AE Workflow with RM properties.

ClosedInput Values

Name

Type

Description

Execution Id

&UC4RB_EXECUTION_ID#

TextElement

Id of the execution to be checked.

Interval

&UC4RB_INTERVAL#

TimeStampElement

Interval in seconds.

Wait-time

&UC4RB_WAIT_TIME#

TimeStampElement

Time defined to wait for completion (in minutes).