The Evaluate Rule Value task will evaluate the given rule and store the result in the specified Constant.
Property Name | Description |
---|---|
Constant Name | The name of the Constant to store the final result in. |
Rule Text | The value of this property will be evaluated as a rule, and the result stored in the specified Constant. If this property is made dynamic then the result of the rule for this property should
be another rule which will in turn be evaluated. |
Title | Changes the Title (not the name) of the task. |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available Specification Flow.
Output Name | Description |
---|---|
Evaluated Value | The result of the rule being evaluated. |
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success
Success with Warnings
Failed
When this task is added the properties are static by default.
See How To: Change A
Static Property To A Dynamic Property to enable rules to be built on these properties.
Variable Name | Value |
---|---|
DWQuotItemDesc3 | "With Side Rails" |
Control Name | Value |
---|---|
QuoteItem | 3 |
Property Type | Example rule | Example result | Meaning |
---|---|---|---|
Rule Text | 1500+1750 | 3250 | DriveWorks evaluates the static rule from the Rule Text property. |
Rule Text | "DWVariableQuoteItemDesc" & QuotationItemReturn | "With Side Rails" | DriveWorks will evaluate the rule once, resulting in DWVariableQuoteItemDesc3. As DWVariableQuoteItem3 is a Variable within the Project, DriveWorks takes the value of the Variable and drives this into the Constant. The Constant would be driven to say With Side Rails. |
The Output results for the examples would be:
Output Name | Output Value |
---|---|
Evaluated Rule | 3250 |
Evaluated Rule | "With Side Rails" |
See Also