xowf::WorkflowPage instproc call_action_foreach (public)
<instance of xowf::WorkflowPage> call_action_foreach \ -action action [ -attributes attributes ] page_names
Defined in /var/www/openacs.org/packages/xowf/tcl/xowf-procs.tcl
Call the specified action for each of the specified pages denoted by the list of page names
- Switches:
- -action (required)
- -attributes (optional)
- Parameters:
- page_names (required)
- Testcases:
- No testcase defined.
Source code: foreach page_name $page_names { set page [${:package_id} get_page_from_name -parent_id [:parent_id] -name $page_name] if {$page ne ""} { $page call_action -action $action -attributes $attributes } else { ns_log notice "WF: could not call action $action, since $page_name in [:parent_id] failed" } }XQL Not present: Generic, PostgreSQL, Oracle