Confirm

This simple UI Procedure is used to obtain user confirmation for various operations. In Iotellect Client, it shows a popup dialog with "OK" and "Cancel" buttons:

Parameters

  • Message. Confirmation message string.

  • Option Type. Buttons will be displayed on the dialog. Options include:

    • Default

    • Yes/No

    • Yes/No/Cancel

    • OK/Cancel.

  • Message Type. Type of confirmation dialog. Options include:

    • Plain message

    • Error

    • Information

    • Warning

    • Question

Output

This action returns value of the selected option: 0 - Yes or OK, 1 - No, 2 - Cancel.

Grouping Support

This UI Procedure supports action grouping. With action grouping, the user is able to choose the Apply to All option to apply their positive or negative choice to all actions in the group.

In Iotellect Client, an Apply to all checkbox is shown in the confirmation dialog:

Was this page helpful?