Status Condition

Checks if the current status matches a value.

Version

Available from version 1.6

Examples

Basic example

1<statusCondition value="Success" />

Example in context

 1<conditional>
 2  <conditions>
 3    <statusCondition>
 4      <value>Failure</value>
 5    </statusCondition>
 6  </conditions>
 7  <tasks>
 8    <!-- Tasks to perform if condition passed -->
 9  </tasks>
10  <elseTasks>
11    <!-- Tasks to perform if condition failed -->
12  </elseTasks>
13</conditional>

Configuration Elements

Element Description Type Required Default Version
description A description of the condition. String No none 1.6
value The status to match. String - one of:
* Success
* Failure
* Exception
* Unknown
* Cancelled
Yes n/a 1.6

Notes

This condition has been kindly supplied by Lasse Sjørup. The original project is available from [[http://ccnetconditional.codeplex.com/]].

Automatically Generated

Documentation generated on Monday, 26 May 2014 at 7:18:03 AM