Skip to main content

Available steps for management scripts in task elements

Set Value in Objects

step1.png

This step allows you to assign different types of values to three available object types within your management scripts.

step1-form.png

Available Objects

step1 dict_type.png

The three available objects where you can set values are:

  • data - For storing and manipulating data values
  • settings - For configuration and settings parameters
  • context - For contextual information and workflow variables

Value Types

step1-value type.png

You can set values using different data types and sources depending on your requirements.

Examples

Example 1: Setting a Value in the Settings Object

step1exam1.png

The above configuration generates the following code:

Example 2: Adding an Email Destination to the Context Object

Adding an email destination to the context object:

step1exa2.png

The above configuration generates the following code:

context['email_destination'] = 'user@mail.com'

Set Last Configuration in Object

step2.png

This step allows you to retrieve the last configuration and assign it to one of the available objects. This is useful when you need to access or reference previously saved configuration data within your management scripts.

Examples

Example: Setting Last Configuration in the Context Object

Setting the last configuration in the context object inside the automation_custom_output key:

step2exa1.png

The above configuration generates the following code:

context['automation_custom_output'] = config.get_last_config()