This Specification Flow Task gets data from a set of Variables, and writes them to a Simple Table.
The task relies on Variables having a common prefix. This is the portion of the Variable name after the default DWVariable, but before any distinguishing suffix.
For example:
DWVariableType1
Property Name | Description |
---|---|
Title | Changes the Title (not the name) of the task. |
Item Prefix String | A pipe bar (|) delimited string of Variable prefixes. |
Table Name | The name of the DriveWorks Project Table that the Variables will be written to. |
When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Item Prefix String | "Type|Material|Price" | Type|Material|Price | This is the pipebar (|) delimited list of all the prefixes for the Variables values to export to the Simple Table. |
Table Name | "VariableExport" | VariableExport | This is the name of the Simple Table to export the Variable values to for the specified Variable prefixes. |
Variable Name | Variable Value |
---|---|
DWVariableType1 | A |
DWVariableType2 | B |
DWVariableType3 | C |
DWVariableMaterial1 | Plastic |
DWVariableMaterial2 | Steel |
DWVariableMaterial3 | Stainless Steel |
DWVariablePrice1 | 12.32 |
DWVariablePrice2 | 45.87 |
DWVariablePrice3 | 78.54 |
The table would have the following written into it, including the headers.
Index | Type | Material | Price |
---|---|---|---|
1 | A | Plastic | 12.32 |
2 | B | Steel | 45.87 |
3 | C | Stainless Steel | 78.54 |
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 (one of the following occurred).