Try OpenEdge Now
skip to main content
Application Developer's Guide
Using the Rule Wizard framework : Standard macro types : Macro type: module
 

Macro type: module

To allow the user to choose the file where the generated rules are saved. The module name is chosen implicitly (as it must be identical to the file name).

Default file name and path rules

The macro proposes a default file name and a path using the following rules:
*If the rule template applies to a specific workstep, the file name is: <rule_template_name>_<workstep_name>.txt
*If the rule template applies to the entire process template, then the file name is: <rule_template_name>.txt
*By default, the file is saved in the Business Process Server application’s rules directory, if this directory exists, otherwise the user can select where to save.

Properties

Name
Value
defaultProperty
The module name (file name with no extension).
stringValue
The file name.

Input properties

Name
Value
stringValue
The file name.

References

Name
Value
workstep
An expression of type macro.property which gives the workstep name the rule template is applied to. If the expression evaluates to null then the user has not yet chosen a workstep. If evaluated to the empty string then the rule template applies to the entire process.
processTemplateFilename
An expression of type macro.property which gives the path and file name of the process template the rule template is applied to. May be null.