workflow::role::get_search_query (public)

 workflow::role::get_search_query -role_id role_id

Defined in packages/workflow/tcl/role-procs.tcl

Get the search query for this role.

Switches:
-role_id
(required)
the ID of the role.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 workflow::role::get_assignee_widget workflow::role::get_assignee_widget (public) workflow::role::get_search_query workflow::role::get_search_query workflow::role::get_assignee_widget->workflow::role::get_search_query workflow::role::get_callbacks workflow::role::get_callbacks (private) workflow::role::get_search_query->workflow::role::get_callbacks workflow::service_contract::role_assignee_subquery workflow::service_contract::role_assignee_subquery (public) workflow::role::get_search_query->workflow::service_contract::role_assignee_subquery

Testcases:
No testcase defined.
Source code:
    set contract_name [workflow::service_contract::role_assignee_subquery]

    set impl_names [workflow::role::get_callbacks  -role_id $role_id  -contract_name $contract_name]
    return         "select distinct acs_object__name(p.party_id) || ' (' || p.email || ')' as label, p.party_id
        from   cc_users p
        where  upper(coalesce(acs_object__name(p.party_id) || ' ', '')  || p.email) like upper('%'||:value||'%')
        order  by label"
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/workflow/tcl/role-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: