workflow::case::action::available_p (public)
workflow::case::action::available_p \ [ -enabled_action_id enabled_action_id ] [ -case_id case_id ] \ [ -action_id action_id ] [ -user_id user_id ]
Defined in packages/workflow/tcl/case-procs.tcl
Is this action currently enabled and does the user have permission to perform it?
- Switches:
- -enabled_action_id (optional)
- The enabled action you want to test for permission on.
- -case_id (optional)
- Deprecated. The ID of the case.
- -action_id (optional)
- Deprecated. The ID of the action
- -user_id (optional)
- The user.
- Returns:
- true or false.
- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.