workflow::role::new (public)
workflow::role::new -workflow_id workflow_id [ -role_id role_id ] \ [ -short_name short_name ] -pretty_name pretty_name \ [ -sort_order sort_order ] [ -callbacks callbacks ]
Defined in packages/workflow/tcl/role-procs.tcl
Creates a new role for a workflow.
- Switches:
- -workflow_id
(required)- The ID of the workflow the new role belongs to
- -role_id
(optional)- -short_name
(optional)- The short_name of the new role
- -pretty_name
(required)- The pretty name of the new role
- -sort_order
(optional)- -callbacks
(optional)- A list of names service-contract implementations.
- Returns:
- role_id
- Authors:
- Peter Marklund
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.