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.
In the header of the rule form, click Actions > View references to display a list of rules that call your rule.
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.
Click the Parameters tab.
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.
To refine the options in the list, enter the second key part of the input parameter in the
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.
You can test your changes by running your rule.