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):
%3 workflow::role::parse_spec workflow::role::parse_spec (private) workflow::role::new workflow::role::new workflow::role::parse_spec->workflow::role::new workflow::test::workflow_setup workflow::test::workflow_setup (public) workflow::test::workflow_setup->workflow::role::new workflow::role::edit workflow::role::edit (public) workflow::role::new->workflow::role::edit

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