Home Search

DriveWorks Pro 22
Archive Specification

Send Feedback

Archive Specification

The Archive Specification Task, when applied, will hide the selected specification from view in the specification explorer.

An example of this in use can be seen in the Default Specification Flow. It is available as an operation on the Completed State.

Once a specification is archived it can be viewed by clicking the Show Archived button in the command bar of the specification explorer window.

When using the Archive Specification task take care that it cannot be applied during a running state or on a paused state that needs to transition to a running state, unless it is required to do so.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
ActionThe archiving action to perform.

This defaults to Toggle when the Task is added.

Examples

Property NameExample RuleExample ResultMeaning
ActionToggleToggleWhen the task is run the Specification will be unarchived or archived, depending on it's current status
ActionArchiveArchiveWhen the task is run the Specification will be archived and will no longer appear in the Specification Explorer
ActionUnarchiveUnarchiveWhen viewing archived Specifications the task will unarchive Specifications, reinstating them to the Specification Explorer
ActionLeaving the Action property empty, the task will behave the same as Toggle
ActionIf( DWCurrentUserName = "Admin" , "Toggle" , "Archive" )ToggleIf the current logged in user is Admin, then the task will toggle the archived status of the Specification. Otherwise the task will archive the Specification

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 (one of the following occurred)

  • Archived Specification.
  • Unarchived Specification.

Success with Warnings (one of the following occurred)

  • Specification was already archived.
  • Specification was already unarchived.

Failed

  • General failure - Check the specification report for more details.