Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Prompting users for parameter values

Updated on November 15, 2021

You can prompt users for values when they run a rule that has input parameters. By displaying a list of options instead of a blank text box, you can help users provide information quickly and accurately.

Note: Some rules do not support parameters or support only a subset of the options below. Names of fields may vary, based on the type of rule that you are updating.
  1. Define the input parameters for your rule.

  2. In the header of the rule form, click Actions > View references to display a list of rules that call your rule.

  3. Inspect the list to ensure that your rule runs in response to an action that a user performs, such as a flow action, because parameter prompting does not occur when a rule runs programmatically.

  4. Click the Parameters tab.

  5. In the SmartPrompt type field, enter the first key part, which is typically the class, of the input parameter.

    For example, you can enter Rule-Message to display a list of messages that are available in the run-time class path.

  6. To refine the options in the list, enter the second key part of the input parameter in the Validate as field.

    For example, you can enter pyCaption when the SmartPrompt type field is set to Rule-Obj-FieldValue to display only field values with a field name that contains "pyCaption".

    You can also reference a property in this field.

  7. Click Save.

You can test your changes by running your rule.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us