Visits Workflow

The Visits Workflow outlines the possible pathways visit processes take for users.

For example, you can add a default workflow to your solution, which means Totalmobile logs when users:

  • Accept visits

  • Travel to visits

  • Start visits

  • Complete visits

The workflow is made up of statuses, for example New, and status flows, for example New to Accept, both of which you can customise. For example, you can define the Accept to On Way status flow to record user location, or trigger a form when users complete visits.

Create a Workflow

  1. In WebAdmin select Solutions.

  2. Select a Solution.

  3. In the Settings pane, go to the Workflow section and select Edit Workflow Details.

  4. Select Create Default Workflow .

  5. In the Please Confirm dialog, select Confirm.

    The default workflow consists of five statuses: New, Accept, On Way, Arrived and Complete.

    Each status is a grey rectangle, and the status flows are the bridges between statuses.

  6. To add a status, select and drag the Add a New Status icon onto the workflow page.

  7. On the new status, select Undefined.

  8. In the Update Status Details dialog:

    1. Enter a Status Code.

    2. Enter a Description.

    3. Select the Action field, then select an action type from the dropdown.

      For Jobs to have a status indicator in the Job List, or to have colour-coded states in Optimise Schedule or the Diary on the Totalmobile app, you must set up the Action types in the RM_WORK_ITEM_VISIT_STATE Scheduler database table:

      WVS_VISIT_STATUS: Workflow status Code e.g. HELD.
      WVS_STATE: Committed, Held, Started or Travelling.

    4. Select the Display As field, then select an option from the dropdown.

    5. To enable or disable the Safe Check Action for this status, select an option from the dropdown. By default there is no safe check configured.

    6. Select Editable to allow the visit to be edited, for example to add a task when at that status.

      You can also use the Editable option to prevent users from having multiple visits at this status at any one time. This encourages users to move visits to a non-actionable state before starting a new visit, rather than working on multiple visits at once.

      To enforce editing one visit at a time, you must assign the Edit Single Visit permission to users. For more details refer to Permissions in the Administrator Guide.

    7. To edit the colour for the status, select the Colour field, then select a colour from the dropdown. You can choose a colour from the predefined options, or select your own from the colour wheel.

      The status colour appears in the Visits list in the Totalmobile app, on the map pin and icons in the Visit Detail screen, and in the app Diary.

      Status colour configuration is only available for Android devices.

    8. Select Save.

  9. Select and drag a node to or from the new status to create a bridge with another status. This creates a status flow, for example Arrived to Part Complete.

  10. Hover your cursor over the Status Flow between two statuses, then select it when it changes colour.

  11. In the Update Status Flow Details dialog:

    1. Enter a status flow Reference.

    2. Enter a status flow Description.

    3. Select the Confirmation field and select a confirmation type from the dropdown. Yes requires a confirmation upon status change, and No does not.

      If you select Reason Code, enter a reason Code and Description, then click Add .

    4. To configure the status flow to trigger a form, select the Form field and select a form from the dropdown.

      You can ensure the status flow cannot progress without form completion by including a mandatory field in the form. For more details refer to the Forms User Guide.

    5. To allow the entered form values to be changed at a later date if required (unless the Form is marked as Submit on Complete), select Add as Task.

    6. Select Sync to force a sync upon the status change both from server to mobile and mobile to server.

      There is a sync upon every status change from mobile to server regardless of this option.

    7. Select Tracking to ensure users submit their location upon the status change.

    8. Select Active to enable the status availability. If left unchecked the status cannot be used.

    9. Select Save.

  12. To create a status, for example Cancelled, that you can change to from any other status, select the Add Wildcard icon on the status.