There are scenarios where users need to display an error popup that depends on a value of an Item sublist. To do this we need to use the After Field Edit trigger or any Client Triggers for the Action.
In the sample scenario below, we will display a pop-up message if the Quantity of an Item Line is 2. Kindly follow the steps below for a detailed guide:
- Navigate to Customization > Workflow > Workflows
- Click Edit beside the Workflow
- Click New Action
- Click Return User Error
- Trigger On: Select After Field Edit
- Triggering Client Fields:
- Select Sublist
- Select Items
- Triggering Client Fields:
- Select the Triggering Field (example: Quantity (Line))
- Condition:
- Field: Select Quantity(Line)
- Compare Type: Select Equal
- Value: Enter 2
- Click Save
- Parameters:
- Text: Enter the Text for the pop-up message
- Click Save
By following the Workflow setup above, a pop-up message will be displayed if the Quantity entered in the Item Line is equal to 2.
Do you have any questions regarding the Workflow setup? Let us know and discuss it with the community! 😊