Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Automatically translated by Lango


Difficulty: expert

Content

Table of Contents
minLevel1
maxLevel1

Learning Objectives

After reading this article you will be able to:

  • Start and stop workflows

Starting and stopping workflows

When troubleshooting modules in Workplace some issues originate from the workflow supporting process. When workflows are stuck or throw an error when trying to move to another status, it is very useful to know how to stop and start a workflow to find out what is causing this. Sometimes that might even solve the issue. More on workflow basics in Workflow basics.

How to stop a workflow

In this example we will use a request in the training environment.

  1. To get to the workflow, navigate to the instance page of the request.

  2. On the instance page there might already be a stop icon. See screenshot.

    Image Removed

  3. If there is no stop button, navigate to the tab: workflow, and click the stop icon there.

  4. The system will ask: Are you sure? Click: Yes.

This will stop the workflow. When the workflow is stopped, there will be no active tasks, this can be seen in the picture below:

...

Expand
titleAn active workflow
Image Removed

Active workflows have active tasks.

Change workflow status

Now that the workflow is stopped, we can change the workflow status. We can do this to force the workflow to move through the statuses again, or to re-evaluate the request.

  1. Go into correct mode (Read about Correct Mode).

  2. Change the status in the drop down menu on the request instance page.

Info

Think on what other fields might need to be reset when changing the workflow status. For example, a reservation was confirmed and approved by the Servicedesk, and now you want to change the status back to Draft. In this case you will also need to empty the approveDate. Similarly, an work order needs to be re-opened when you are changing the status of a closed work order.

How to start the workflow

To start the workflow, simply click the start button in the top right corner.

...

Info

If the tasks (on the workflow tab) do not seem to refresh. Click the refresh button on the tasks include, this will refresh the page and show all the active tasks in this workflow again.

Summary

Rw ui textbox macro
  • Starting/stopping a workflow is very useful when troubleshooting

  • When stopped, the status of the workflow can be changed

Search

...

Workflows stoppen en herstarten

Als een workflow-gerelateerd proces in een status wordt gezet die het niet had moeten hebben. Als bijvoorbeeld een verzoek per ongeluk wordt geannuleerd, is het mogelijk om het verzoek terug te zetten naar een andere status (en stap in de workflow). Hiervoor zijn de volgende stappen nodig:

  • De workflow stoppen

  • De status van het object wijzigen (bijv. het verzoek)

  • De workflow opnieuw starten

Deze stappen worden hieronder in detail beschreven:

Een workflow stoppen

  1. Om naar de workflow te gaan, navigeer je naar de voorbeeldpagina van het object (bijvoorbeeld een verzoek).

  2. Op de instantiepagina staat een stoppictogram (tenzij het object geen workflow heeft of de workflow al is gestopt). Zie schermafbeelding.

    Image Added

  3. Het systeem vraagt: Weet u het zeker? Klik: Ja.

Hierdoor wordt de workflow gestopt. Als de workflow is gestopt, zijn er geen actieve taken meer.

De status wijzigen

Nu de workflow is gestopt, is het mogelijk om de status van de workflow te wijzigen. Dit kan gedaan worden om de workflow te dwingen de statussen opnieuw te doorlopen, of om het proces terug te zetten naar een eerdere status.

  1. Ga naar de juiste modus (Lees meer over Correct mode).

  2. Wijzig de status in het statusveld.

Info

Houd er rekening mee dat andere velden mogelijk gereset moeten worden als je de workflowstatus wijzigt. Een verzoek is bijvoorbeeld behandeld en goedgekeurd door de aanvrager, en nu wil je de status terugzetten naar ingediend. In dit geval moet u ook de sluitingstijd leegmaken.

Een workflow opnieuw starten

Om de workflow te starten, klik je gewoon op de startknop in de rechterbovenhoek.

...

Info

Als de taken (op het tabblad workflow) niet lijken te verversen. Klik op de knop Vernieuwen op de taken, hierdoor wordt de pagina vernieuwd en worden alle actieve taken in deze workflow opnieuw weergegeven.