Provide a service that lets non-global admins assign a label to a workflow version.
Assigning version labels (see link below) to workflow versions needs permissions of a global admins. This workflow, deployed as a service deployment, lets you lend these permissions to non-global-admins. The deployment must either be created under the user-scope of a global admin (see Deployment execution scope below), or be configured with the application password of one. Share this service deployment with those individuals or teams that you want to be able to assign labels to workflow versions and they can do so by calling the service deployment with a Call Workflow Service Node (see link below).
When calling the service deployment, the following flow variables are expected:
- workflow_id (String): The workflow of which a version is to get a label.
- workflow_version (String): Specifies the version the label is to be assigned to. Integer number or the special values "current-state" (latest draft or version) or "most-recent" (latest version).
- label_id (String): The ID of the label to assign. Find it with the "Manage Version Labels" data app.
- label_message (String): The message you want to assign to the label.
- replace_existing? (Boolean value): Whether to remove existing labels (TRUE) or keep them (FALSE).
Please refer to the component "Assign Label to Version (Service caller)" for a convenient way of calling the service deployment from a workflow.
Assigning version labels (see link below) to workflow versions needs permissions of a global admins. This workflow, deployed as a service deployment, lets you lend these permissions to non-global-admins. The deployment must either be created under the user-scope of a global admin (see Deployment execution scope below), or be configured with the application password of one. Share this service deployment with those individuals or teams that you want to be able to assign labels to workflow versions and they can do so by calling the service deployment with a Call Workflow Service Node (see link below).
When calling the service deployment, the following flow variables are expected:
- workflow_id (String): The workflow of which a version is to get a label.
- workflow_version (String): Specifies the version the label is to be assigned to. Integer number or the special values "current-state" (latest draft or version) or "most-recent" (latest version).
- label_id (String): The ID of the label to assign. Find it with the "Manage Version Labels" data app.
- label_message (String): The message you want to assign to the label.
- replace_existing? (Boolean value): Whether to remove existing labels (TRUE) or keep them (FALSE).
Please refer to the component "Assign Label to Version (Service caller)" for a convenient way of calling the service deployment from a workflow.