How to create a button that would run some custom rule script?
- Go to the properties of a field for which a custom action button is required.
- Navigate to the Custom Action tab.
- Turn on the Enable Custom Action option.
- Add necessary fields to the rule settings.
- Define the button caption.
- Click on the Edit.. button under the Script section.
- Write a script in the Script Editor window:
- After saving the changes, the field and the button will look like this: