xowf::test_item::Answer_manager method get_wf_instances (public)
<instance of xowf::test_item::Answer_manager> get_wf_instances \ [ -initialize initialize ] [ -orderby orderby ] \ [ -creation_user creation_user ] [ -item_id item_id ] \ [ -state state ] wf
Defined in packages/xowf/tcl/test-item-procs.tcl
get_wf_instances: return the workflow instances
- Switches:
- -initialize
(defaults to"false"
) (optional)- -orderby
(optional)- -creation_user
(optional)- -item_id
(optional)- -state
(optional)- Parameters:
- wf
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_test_items
Source code: :assert_assessment_container $wf set extra_where_clause "" foreach var {creation_user item_id state} { if {[info exists $var]} { append extra_where_clause "AND $var = [ns_dbquotevalue [set $var]] " } } return [::xowiki::FormPage get_form_entries -base_item_ids [$wf item_id] -form_fields "" -always_queried_attributes "*" -initialize $initialize -orderby $orderby -extra_where_clause $extra_where_clause -publish_status all -package_id [$wf package_id]]XQL Not present: Generic, PostgreSQL, Oracle