workflow::case::action::enabled_p (public)
workflow::case::action::enabled_p -case_id case_id \ -action_id action_id
Defined in packages/workflow/tcl/case-procs.tcl
Is this action currently enabled.
- Switches:
- -case_id (required)
- The ID of the case.
- -action_id (required)
- The ID of the action
- Returns:
- true or false.
- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [db_string select_enabled_p {} -default 0]Generic XQL file: <fullquery name="workflow::case::action::enabled_p.select_enabled_p"> <querytext> select 1 from dual where exists (select 1 from workflow_case_enabled_actions ean where ean.action_id = :action_id and ean.case_id = :case_id and completed_p = 'f') </querytext> </fullquery>packages/workflow/tcl/case-procs.xql
PostgreSQL XQL file: packages/workflow/tcl/case-procs-postgresql.xql
Oracle XQL file: packages/workflow/tcl/case-procs-oracle.xql