workflow::role::get_options (public)

 workflow::role::get_options -workflow_id workflow_id [ -id_values ]

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

Get a list of roles in a workflow for use in the 'options' property of a form builder form element.

Switches:
-workflow_id (required)
-id_values (optional, boolean)
Provide this switch if you want the values in the options list to be role id:s instead of short names.
Author:
Lars Pind <lars@collaboraid.biz>

Testcases:
No testcase defined.
[ show source ]
Show another procedure: