workflow::role::get (public)

 workflow::role::get -role_id role_id -array array

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

Return information about a role in an array.

Switches:
-role_id (required)
The ID of the workflow
-array (required)
Name of the array you want the info returned in
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::role::get workflow::role::get bug_tracker::search::bug::datasource->workflow::role::get packages/workflow/www/admin/role-ae.tcl packages/workflow/ www/admin/role-ae.tcl packages/workflow/www/admin/role-ae.tcl->workflow::role::get packages/workflow/www/admin/workflow-edit.tcl packages/workflow/ www/admin/workflow-edit.tcl packages/workflow/www/admin/workflow-edit.tcl->workflow::role::get workflow::case::role::get_assignee_widget workflow::case::role::get_assignee_widget (public) workflow::case::role::get_assignee_widget->workflow::role::get workflow::case::role::set_assignee_values workflow::case::role::set_assignee_values (public) workflow::case::role::set_assignee_values->workflow::role::get workflow::role::get_all_info workflow::role::get_all_info (private) workflow::role::get->workflow::role::get_all_info workflow::role::get_workflow_id workflow::role::get_workflow_id (public) workflow::role::get->workflow::role::get_workflow_id

Testcases:
No testcase defined.
Source code:
    set workflow_id [workflow::role::get_workflow_id -role_id $role_id]

    upvar $array row

    # Get info about all roles for this workflow
    array set role_data [workflow::role::get_all_info -workflow_id $workflow_id]

    array set row $role_data($role_id)
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/workflow/tcl/role-procs.xql

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