Articles in this section
Category / Section

6.2 Adding Task States for a task template

Published:
Updated:

Many of our customers use Task States to define where the task job is in the work chain. Some of the more typical states are listed in the picture below. Others may be “Sent for invoicing”, “Ready for electrician”, etc. Some choose to use just one or two states, such as Ongoing and Completed.

621.png

The states are defined in the Task Template editor’s 2 – States tab:

622.png



Adding the main settings for a state

Press [Add State] to add a new state section. In the picture above there are 3 state sections listed from top to bottom: New, Ongoing and Done.

  • Use the arrows in the top left corners of each section to move a state up or down in the state list
  • Press the X in the top right corner to remove a state
  • Fill in the State name to be shown in the Zegeba app. This name and the Helptext can be in any language you choose to use
  • The Helptext will be shown if a state is disabled and someone tries to select it anyway
  • The Progress Value entered here will be shown in the task list.
  • You have to select a Color from the dropdown list to be able to save the template
  • Check Default if this state should be automatically selected when no other state is chosen by the users
  • Check Disabled to have this state be shown in passive grey in the list of states so that it cannot be selected
  • Check Hidden to completely hide this state from the state list
  • Check Disables Selection to disable the list of states to be opened
  • Check Hide task with this state to remove the task from the user’s app when this stage – usually the last one – is reached

Note that task states are similar to form states, but form states are just set for the progress of one form on the form’s Summary page. Task states can be set by users in the app or by Admins and Tasks Admins in the Dashboard’s Tasks screen. If the task is part of a context, the task state can also be set in the Context Builder.



Adding email notifications for a state change

You can define email notifications to be sent when a task reaches a specific task state.

623.jpg

  1. Select the state’s setting Notify when changing to this state to open up the notification parameters.
  2. Click in the To field to open the list of user email addresses registered in Zegeba and select one or more you want to add as recipients.
  3. Click on the Cc and/or Bcc to add addresses for Carbon Copy and Blind Carbon Copy.

Note: From Zegeba 4.8 you can enter an email list in this field which allows recipients to be selected when a task is created, insted of when the task template is created. In this way, you can select new recipients for each individual task. Read more about this in Managing: 6.2.1 Assigning users or emails for task states during task creation.



Creating a custom email message for a state change

The default task state change email will look like this:

624.jpg

However, you can define a specific email for this task state change:

625.jpg

  1. Select Enable custom message.
  2. Enter the subject text and the message text in the two empty text boxes.
  3. In the Parameters list to the right you will always find the Task URL and the State. The others are the Meta Data defined in this task template.
    Click in one of the text boxes and then on the parameter you wish to add to the text.
    The relevant state, URL or meta values will then be added to the email when sent.


Changing assigned users when changing to a task state

You can define that certain users are removed from a task, or added to it, when changing task state.

626.jpg

  1. Select Change assignment of users when switching to this task state.
  2. To add new users to the ones already assigned to the task,
    select Add (assign to selected users).
    Click in the Users field and enter one or more new users to be added to the task when this state is reached.
  3. To remove all present users assigned and add new users to the task,
    select Replace (clear assignees and then assign to selected users).
    Click in the Users field and enter one or more new users to be added as the only users of this task when this state is reached.
  4. To remove one or more users from the task when this state is reached,
    select Remove (Unassign selected users).
    Click in the Users field and enter one or more users to be removed when this state is reached.
  5. To remove all users assigned to the task when this state is reached,
    select Clear (unassign all).
    The task can still be viewed by Admins or Task Admins in the Dashboard and they can assign it to themselves if they need to edit it.

Note: These settings are defined in the task template so they will apply to all tasks in that template. From Zegeba 4.8 you can enter a user list in this field which allows users to be selected when a task is created, insted of when the task template is created. In this way, you can select new users for each individual task. Read more about this in Managing: 6.2.1 Assigning users or emails for task states during task creation.

Was this article useful?
yes
No
Help us improve this page
Please provide feedback or comments
Access denied
Access denied