The TaskJuggler User Manual

Project Management beyond Gantt Chart Drawing


<< extend << Table Of Contents >> flags >>


Keyword fail List Attribute

Purpose
The fail attribute adds a logical expression to the property. The condition described by the logical expression is checked after the scheduling and an error is raised if the condition evaluates to true. This attribute is primarily intended for testing purposes.
Syntax fail (<operand> [(| | & | > | < | = | >= | <= | !=) <operand>...] | @ (all | none))
Arguments operand

An operand can consist of a date, a text string, a function, a property attribute or a numerical value. It can also be the name of a declared flag. Use the scenario_id.attribute notation to use an attribute of the currently evaluated property. The scenario ID always has to be specified, also for non-scenario specific attributes. This is necessary to distinguish them from flags. See columnid for a list of available attributes. The use of list attributes is not recommended. User defined attributes are available as well.

An operand can be a negated operand by prefixing a ~ character or it can be another logical expression enclosed in braces.

|
The 'or' operator
&
The 'and' operator
>
The 'greater than' operator
<
The 'smaller than' operator
=
The 'equal' operator
>=
The 'greater-or-equal' operator
<=
The 'smaller-or-equal' operator
!=
The 'not-equal' operator
Context resource, supplement (resource), task, supplement (task)



<< extend << Table Of Contents >> flags >>


Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 by Chris Schlaeger <cs@taskjuggler.org>.TaskJuggler is a trademark of Chris Schlaeger.