Quick tip on how to ask users question before you let them run a critical rule which may take a while to execute, delete data or impact metadata. You can create a template to start with and let’s call it “Ask for Warning”

Create a Boolean design time prompt as follows.

Add a single step in your template.

Add a validation condition.

When you run this template, you will see something like this

If you click on Launch without checking Are you sure checkbox, you will get this message.

Once you click on the checkbox to indicate you are sure to proceed. It can process the script.

Using templates with Groovy power unlocks a number of interesting scenarios. You can ask number of new employees to be added to metadata, ask name of the file, etc…