workflow::get_roles (public)

 workflow::get_roles [ -all ] -workflow_id workflow_id \
    [ -parent_action_id parent_action_id ]

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

Get the role_id's of all the roles in the workflow.

Switches:
-all
(boolean) (optional)
-workflow_id
(required)
The ID of the workflow
-parent_action_id
(optional)
Returns:
list of role_id's.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::search::bug::datasource bug_tracker::search::bug::datasource (private) workflow::get_roles workflow::get_roles bug_tracker::search::bug::datasource->workflow::get_roles workflow::case::action::notify workflow::case::action::notify (public) workflow::case::action::notify->workflow::get_roles workflow::case::role::add_assignee_widgets workflow::case::role::add_assignee_widgets (public) workflow::case::role::add_assignee_widgets->workflow::get_roles workflow::case::role::set_assignee_values workflow::case::role::set_assignee_values (public) workflow::case::role::set_assignee_values->workflow::get_roles workflow::role::add_assignee_widgets workflow::role::add_assignee_widgets (public) workflow::role::add_assignee_widgets->workflow::get_roles workflow::role::get_ids workflow::role::get_ids (private) workflow::get_roles->workflow::role::get_ids

Testcases:
No testcase defined.
Source code:
    return [workflow::role::get_ids -all=$all_p -workflow_id $workflow_id -parent_action_id $parent_action_id]
Generic XQL file:
packages/workflow/tcl/workflow-procs.xql

PostgreSQL XQL file:
packages/workflow/tcl/workflow-procs-postgresql.xql

Oracle XQL file:
packages/workflow/tcl/workflow-procs-oracle.xql

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