Simple Switch Handler
It is used when we need to perform some actions after switching tabs or steps.
Simple Switch Handler syntax and example
To show a confirmation dialog box on switching tabs.
Code JSON
{ "switch": { "actions": [ { "name": "showConfirmationOnSwitch" } ] } }
Action config
Code JSON
{ "name": "showConfirmationOnSwitch", "actionType": "normal", "property": {}, "appearance": { "render": false, "label": "show Confirmation On Switch", "style": "primary", "position": "bottom-right" }, "confirmation": { "title": "Confirmation On Switch", "content": "Confirmation On Switching to a new Tab/Step", "closeText": "ok", "cancelOrCloseHandler": {} }, "successHandler": {}, "failureHandler": {}, "pendingHandler": {}, "handler": {} }