WorkflowGen comes with a complete list of macros that you can use in both forms and business rules. However, you can’t create your own macros.
Instead, you can create web form actions that will populate process data with their associated values. This will let you create custom business rules and define various conditions for notifications. To do this, simply map a specific web form action to a form field to extract its information as a process data.
You can then use these process data to define business rules and create functions in email templates.