Reuse Process

This activity allows you to reuse an existing automation process workflow in a new process workflow.

Reusing an existing process helps you save time and effort required for recreating a new process.

 

NOTE: 

Only a published process can be reused.

  

Using Reuse Process Activity

  1. In the Canvas Tools pane, click Process Components to expand the tool and view the associated activities.
  2. Drag the Reuse Process activity and drop on to the Flowchart designer on the Canvas.
  1. In the Browse for Profile list select the profile you want to reuse.

 

 

  1. In the Browse for Process list, select the process you want to reuse in the current workflow. The process list displayed depends on the profile you have selected above.  You can click the (Open Process) icon open the selected process in the Flowchart designer are in the Canvas.

 

 

  1. Click the (Settings) icon, and then click CView to select the configurations that have been marked for customer view (available in the CView tab in AE Engage) in the reused process. The Reused Process's CView Selection dialog box appears.
  2. Select the filed configurations and then click CONFIRM.

 

 

  1. Click the (Settings) icon once again, and then click Parameter Mapping to align the parameters of the reused process with the parameters of the process where it is being used (also called as Parent process). The ReUsed Process's Arguments Mapping dialog box appears. See the sample mapping in the following screen shot:

 

 

The Argument, Argument Direction and Argument Type lists the details related to the parameters of the reused process.

 

  1. In the Map to Parent list, select the parameter that you want to assign to the parent process parameter. Repeat this step for each of the parameter you want to map. If there is no parameter available in the parent process matching the direction or type of the current parameter, you can add a parameter. Follow the mentioned to steps to add the parameter:
    1. Click Select or Add to select an existing parameter from the available list or create a new parameter. The Add new Argument dialog box appears.

       

    2. In the Argument Name field, enter a desired name.
    3. The DataType is set as the data type of the corresponding reused process parameter.
    4. In the Default Value field is enabled only when the Argument Direction of the corresponding reused process parameter is In. For Out or InOut direction, providing default value is not supported. Once the field is enabled for In parameter, enter a default value of the argument added, if required.
    5. Click CONFIRM to save the mapping.
      The Reuse Process activity with the name of the process selected, is created.

Reuse Process Properties

The properties of a Reuse Process activity are listed in the following table and can be edited in the Property grid on the right panel.

 

Property Name

Usage

Control Execution

Ignore Error

When this option is set to Yes, the application ignores any error while executing the activity.

If set to NA, it bypasses the exception (if any) to let the automation flow continue; however, it marks the automation status as failure, in case of an exception.

By default, this option is set to No.

Delay

Wait After

Specify the time delay that must occur after the activity is executed. The value must be in milliseconds.

Wait Before

Specify the time delay that must occur before the activity is executed. The value must be in milliseconds.

Misc

Breakpoint

Select this option to mark this activity as the pause point while debugging the process. At this point, the process freezes during execution allowing you to examine if the process is functioning as expected.

In large or complex processes, breakpoints help in identifying the error, if any.

Commented

Select this option to mark this activity as inactive in the entire process. When an activity is commented, it is ignored during the process execution.

DisplayName

The display name of the activity in the flowchart designer. By default, the name is set as the name of the selected process. You can change the name as required.