Home Search

DriveWorks Pro 22
Move Child Spec List Item

Send Feedback

Move Child Spec List Item

Move an item in a Child Specification list.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the Task.
Child Specification Control NameThe Name of the Child Specification List.
Row IndexThe Row Index of the item you want move in the Child Specification List. Row Index starts at 1 for the first row.
Number of Rows to MoveThe number of rows you want to move the selected item. The direction to move is signified by a + symbol (down) or a - symbol (up) in front of the amount.For example +2 would move the item 2 places down
Constant NameThe Constant used to report on the success of the Specification Task, for reference only.

Example

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 NameExample RuleExample ResultMeaning
Child Specification Control Name"ChildSpec"ChildSpecThis is the name of the Child Specification Control.
Row Index22This is the Row index you want to move.
Number Of Rows To Move+2+2This will move the Row down two places in the Child Specification Control.
Constant Name"DWConstantReport"DWConstantReportThis is the name of the Constant the Task will report to.

Using the Task in a Specification Macro

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 for Specification Flow.

Status Outputs

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

  • Successfully moved the row index.

Success with Warnings (one of the following occurred)

  • Row is already at the top of the list.
  • Row is already at the bottom of the list.

Failed (one of the following occurred)

  • Invalid number of rows to move.
  • There are no items to move in the Child Specification List.
  • Two or more items are needed in the Child Specification List.
  • Row index is greater than the number of rows in the Child Specification List.
  • The Control is not a Child Specification List.
  • The Control does not exist.
  • General failure - Check the Specification report for more details.