Group Control Copy

When this task executes, it copies the value from a source path to one or more destination paths. It also provides the additional feature to group several Copy Control tasks.

To configure the Group Control Copy task:

  1. In the Events dialog box, scroll down.
  2. Under Add Tasks, click the Select Task list, and then select GROUP_CONTROL_COPY.
  3. Click Add Task Config, and the Add Task dialog box opens.
  4. In the Add Task dialog box, click the Configuration area to expand it.
  5. In the Configuration area, perform the function as follows:
PropertyDescription
TypeClick this list and then select one of the following options:
1. Fixed
If you select this option, the GROUP_CONTROL_COPY task will allow you to copy the string type data from the source path to the destination path.

2. JSON
If you select this option, the GROUP_CONTROL_COPY task will allow you to copy the value from a source JSON path to the destination JSON data path. If the value in the destination JSON path is changed, the same value change occurs in the source JSON path.

3. CLONE
If you select this option, the GROUP_CONTROL_COPY task will also allow you to copy the data from the source JSON path to the destination JSON path. If the value in the destination JSON path is changed, the same value change does not occur in the source JSON path.

4. RANDOM
If you select this option, the GROUP_CONTROL_COPY task will allow you to copy a six digits random value from the source path to the destination path.

5. Date
If you select this option, the GROUP_CONTROL_COPY task will allow you to copy the current date.
Copy From PathIn this field, enter the value based on the selected option in the Type list. Assume you have selected JSON in the Type list. Thus, you can enter the JSON path in the Copy From Path field as follows:

# Sample Data Path
getVal(“tempObject.name”)

The GROUP_CONTROL_COPY task will fetch the data from the name object.
Copy To PathIn this field, enter the value based on the selected option in the Type list. Assume you have also selected JSON in the Type list. In the Copy To Path field, enter the JSON path as follows:

# Sample Data Path
getVal(“tempObject.name1”)

The GROUP_CONTROL_COPY task will copy the data from the name object to the name1 object.
Add PathClick Add Path to copy the data from the source path to more destination paths.
Add ConfigurationWhen you click Add Configuration, a group of Copy From Path and Copy To Path fields come into view.

In the Copy From Path and Copy To Path fields, configure the source and destination paths to copy the data from the source path to the destination path. The Add Configuration feature allows you to create a group of several Control Copy tasks and then use this group to execute them.
  1. After you enter the data path or value in the related fields, click Submit to successfully configure the GROUP_CONTROL_COPY task.
Was this article helpful?
YesNo