xowf::WorkflowConstruct instproc get_value (public)
<instance of xowf::WorkflowConstruct> get_value values
Defined in /var/www/openacs/packages/xowf/tcl/xowf-procs.tcl
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
Source code: foreach {cond value} [:get_cond_values $values] { if {$cond eq "" || $cond eq "default" || $cond eq "else" || $cond == "true"} { return $value } elseif {[:$cond]} { return $value } }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)