Input Prompt
This object prompts a user for the configured inputs including radio buttons, check boxes, combo boxes, and date pickers as well as buttons. This object requires an Agent be installed on the target machine.
This object uses branding settings in the Automation Manager Designer (Options -> Branding), to configure the final look.
Remember to click Refresh Branding Settings in this object whenever branding settings may have changed while designing a policy, otherwise the new branding will not be saved in the policy.
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
Title | String | Yes | The title of the dialog. |
Body | String | Yes | The message or question to be displayed to the user. |
Timeout (secs) | Number | Yes | The amount of time (in seconds), that the prompt will be displayed for a response. Enter zero to keep the dialog displayed until the user dismisses it. |
Inputs | Collection | Yes | The collection of inputs to which user will need to respond. |
Buttons | Collection | Yes | The collection of buttons from which the user will choose as appropriate. |
Output Parameters
Name | Type | Description |
---|---|---|
Button Selected | Number |
Returns the numerical value assigned to the button clicked by the user. Returns a value of zero if the script times out. |
Input One Result | String | Returns response to first input. |
Input Two Result | String | Returns response to second input (if set up). |
Input Three Result | String | Returns response to third input (if set up). |
Input Four Result | String | Returns response to fourth input (if set up). |
Input Five Result | String | Returns response to fifth input (if set up). |
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Result String | String | Object execution error details. |
Example Input Parameters
Name | Type | Required | Example | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Title | String | Yes | Device Maintenance Required | |||||||||||||||
Body | String | Yes | Device Maintenance is about to begin on this device, do you wish to allow? | |||||||||||||||
Timeout (secs) | Number | Yes | 300 | |||||||||||||||
Inputs | Collection | Yes |
The inputs to which user will need to respond:
|
|||||||||||||||
Buttons | Collection | Yes |
The buttons from which user will choose appropriate:
|