Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 15 Current »

Overview

  • The Decisions workflow platform allows you to define the decisions and processes you need once and then lets the automated process take them forward

Create a Decision workflow

  • Click the Workflow tab, and refer to this link Workflows

  • You have to drag and drop the Toaster to show the Decision, refer to this link for details on the Toaster workflow Toaster

  • Drag and drop the Decision action

  • Click on the Config tab

  • Criteria: Criteria determine the conditions under which the criteria apply

    • When the given criteria in the workflow are completed, then the criteria are fired

    • Criteria help you identify the best decision

  1. AND: When all the conditions are satisfied, then it returns true otherwise false

  2. OR: When one (or both) conditions are satisfied, then it returns true otherwise false

  3. Add Condition: You can add multiple conditions

    1. Click on the + icon

    2. Fill in the information, click Save

      1. Destination Type:

      2. Variable: Variables are containers for storing data values in PWR Apps

      3. Operator: The operator is a character that represents a specific mathematical or logical action

      4. Source Type:

      5. New variable: You can enter the variable

      For more details refer to this link Models

  4. Add Group: Criteria can be added within other criteria i.e Nested criteria

    1. Click on the + icon

  • By clicking on the button, you can set the NOT criteria for a given condition

    • NOT: Which is used to reverse the result of any given condition

      • If the result of a condition is true, the result will be reversed as false, Similarly, if the condition's result is false, the NOT operator reverses the result and returns true

  • Delete: You can delete the condition

    • Click on the Delete icon

      • Before Delete

      • After Delete

  • Click on the Action Details tab

  1. Label: Label for the selected action

  2. Name: Name is a unique identifier for the action

  3. Is Async?:

  4. Description: Short description of Decision

  • Click on the Input tab

  • Click on the + icon

    • Fill in the information, click Save

  1. Label: To display as a label for the workflow

  2. Name: To uniquely identify the workflow within the form

  3. Field Type: You can select the field type from the dropdown

    1. Field: Text, Checkbox, Integer, Double, etc

  4. Required: If this checkbox is checked, the field is required

  5. Is Array?: If this checkbox is checked, the field is stored in the array

  6. Default Value: You can set a default value for the input

  • Decision input created

  • By using the x (cross) icon, you can delete the Input property

  • Delete the Input

  • Go to the Layout page

  • Click on Run

  • The preview page will open

    • As per your given criteria, fill the information in the New Variable and click Save

      • If the criteria are met, the decision will be true and Succuss Message will be displayed

      • If the criteria are not met, the decision will be false and an Error Message will be displayed

  • No labels