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.
|Title||Changes the Title (not the name) of the task.|
|Action||The archiving action to perform.|
|Property Name||Example Rule||Example Result||Meaning|
|Action||Toggle||Toggle||When the task is run the Specification will be unarchived or archived, depending on it's current status|
|Action||Archive||Archive||When the task is run the Specification will be archived and will no longer appear in the Specification Explorer|
|Action||Unarchive||Unarchive||When viewing archived Specifications the task will unarchive Specifications, reinstating them to the Specification Explorer|
|Action||Leaving the Action property empty, the task will behave the same as Toggle|
|Action||If( DWCurrentUserName = "Admin" , "Toggle" , "Archive" )||Toggle||If 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|
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.
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)
Success with Warnings (one of the following occurred)