workflow::role::get_assignee_widget (public)
workflow::role::get_assignee_widget -role_id role_id \ [ -prefix prefix ] [ -mode mode ]
Defined in packages/workflow/tcl/role-procs.tcl
Get the assignee widget for use with ad_form for this role.
- Switches:
- -role_id (required)
- the ID of the role.
- -prefix (optional, defaults to
"role_"
)- -mode (optional, defaults to
"display"
)- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: workflow::role::get -role_id $role_id -array role set element "${prefix}$role(short_name)" set query [workflow::role::get_search_query -role_id $role_id] set picklist [workflow::role::get_picklist -role_id $role_id] return [list "${element}:search(search),optional" [list label $role(pretty_name)] [list mode $mode] [list search_query $query] [list options $picklist]]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/workflow/tcl/role-procs.xql