- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowf::WorkflowConstruct
::xowf::WorkflowConstructcreate ... \
[ -handled_roles (default "[list]") ] \
[ -label (default "[namespace tail [self]]") ] \
[ -name (default "[namespace tail [self]]") ]
Defined in
Class Relations
- class: ::xotcl::Class
- superclass: ::xowf::WorkflowObject
- subclass: ::xowf::Condition
, ::xowf::State
, ::xowf::Action
::xotcl::Class create ::xowf::WorkflowConstruct \ -superclass ::xowf::WorkflowObjectMethods (to be applied on instances)
get_value (scripted, public)
<instance of xowf::WorkflowConstruct> get_value values
Return the first value whose condition matches. An unconditional or default entry also matches. Return an empty string if none match.
- Parameters:
- values (required)
- Value specification parsed by get_cond_values.
- Testcases:
- workflow_constructs
foreach {cond value} [:get_cond_values $values] { if {$cond eq "" || $cond eq "default" || $cond eq "else" || $cond == "true"} { return $value } elseif {[:$cond]} { return $value } }
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)