Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Workflow designer allows you to design and deploy automation workflows for your tenant. Luma Automation provides various OOTB events and connectors. You can drag and drop the connectors on the Workflow Designer, link them in sequence based on the business process and create a workflow. Following functions can be created using these events:

...

  1. On the Workflow Designer screen, drag and drop the Create ServiceTask control. Here we can configure the task or action to be executed in the Target system.

    Image Modified
  2. Select the Service Task and open the Properties Panel. On the Properties panel, configure the operation to be executed in the Target system. Add the following details:

    1. On theProperties panel → General tab, add the general Service Task information:

      1. Add the Service Task Name and any Documentation detail.

      2. In the Connected App, select your Target system.

      3. Select the Instance that connects to your target environment. Refer to Create Integration Operations for more information on integration App and Instance creation.

  3. Alternatively, you can also drag and drop the Connected App from the left pan on the designer. This automatically creates a Service Task for the selected Connected App. Add the Service Task details and required Instance for your target environment.

    Image Modified

Configure Input Parameters

...

Info

In addition to the Service Task parameters, Workflow parameters and out parameters of other steps in the workflow can be used in Operation configuration. For more details, refer to Using parameters in Workflows.

Configure Output Variables

...

Similarly, you can add Post Step Execution actionon the ‘On Success’ tab

Handle Errors - On Failure

(In progress)

Create a Script Task

Script Task events are used to execute a script as part of the workflow. You can use Groovy Script to seamlessly integrate with various systems and execute tasks. Groovy is an object-oriented and Java syntax compatible programming language built for the Java platform. For more information, refer to https://groovy-lang.org/.

...

  1. On the Workflow Designer screen, drag and drop the Create ScriptTask control. Here we can the script to be executed as part of the workflow.

    Image RemovedImage Added
  2. Select the Script Task and open the Properties Panel. On the Properties panel, configure the script details to be executed. Add the following details:

    1. On the Properties panel → General tab, add the general Service Task information:

      1. Add the Script Task Name.

      2. The script task accepts groovy script. Add the script to be executed.

        Image RemovedImage Added
    2. The variables used in the script are automatically identified as Input and Output parameters. On the Input/Output tab, the ‘getvariables’ are identified as ‘Input Parameters’ and ‘setvariables’ are identified as ‘Output Parameters’.

...

Info

When using an XOR Gateway, the following rules are applied:

  • When using an exclusive gateway (XOR gateway), only one path is executed.

  • If multiple rules evaluate as ‘true, the first one defined is selected for execution.

  • If none of the rules is true, the workflow throws an exception. It is recommended to add rules in such a way that at least one flow is always selected.

Error Handling - Create Error Boundary Event

Error Boundary Event is used to handle the errors that may occur during the execution of a task or at a certain point in the workflow. Create Error codes and define the path and activities to be executed when the defined error occurs. You can handle Technical errors such as Service Unavailable as well as Business Validations with Error Boundaries. For more information on how to handle errors during workflow execution refer to Error Handling in Automation Workflows.

Other Actions on Workflow Designer

...