Home Search

DriveWorks Pro 22
Switch Team Leader Status

Send Feedback

Switch Team Leader Status

The Switch Team Leader Status task will change the team leader status of the specified user.

Properties

Property NameDescription
Team LeaderDetermines if the user is a team leader (True) or not (False).
User NameThe User name for the User to be changed.
TitleChanges the Title (not the name) of the task.

Example

When this task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Property NameExample RuleExample ResultMeaning
Team LeaderTRUETRUETRUE will make the User a Team Leader.
User Name"John"JohnThe user name for the user to be changed.

Using the Task in a Specification Macro

This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.

Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success (one of the following occurred)

  • User set as team leader.
  • User set as normal user.

Success with Warnings (one of the following occurred)

  • User is already team leader.
  • User is already normal user.

Failed (one of the following occurred)

  • User does not have permissions to edit group security.
  • Username was empty.
  • User doesn't exist.
  • Team name was empty.
  • Team doesn't exist.
  • General failure - Check the specification report for more details.