Dialog Mode
Input masks which can be created using the script statement :READ are displayed if a script runs in dialog mode. The system assumes that a user who is logged on to the UserInterface at this point in time can react to such a mask.
Whether a script runs in dialog mode depends on the setting "Generate at runtime" which is available in the Attributes tab.
A script does not run in dialog mode if "Generate at runtime" has been activated in its object.
A script runs in dialog mode if:
- the option Generate at runtime has NOT been activated in the task (for exceptions see below)
- and the task is activated manually;
- or the task runs in a group which is processed via a call and not via a queue.
A script does not run in dialog mode if:
- the option Generate at runtime has been specified in the task.
- the option Generate at runtime has been activated in the workflow in which the task will run. If several workflows are nested, the settings of the top workflow apply.
- the task runs in a Schedule.
- the task is activated using a script function such as ACTIVATE_UC_OBJECT.
- a CallAPI starts the task.
- the task is activated via an object setting (e.g. in the Result tab of a workflow).
- the task runs in a group which serves as a queue.
Use the script function GET_ATT with the attribute DCMODUS to find out whether a script runs in dialog mode.