Moeilijkheidsgraad: expert

Inhoud

Table of Contents
minLevel1
maxLevel1

Leerdoelen

Na het lezen van dit artikel zul je in staat zijn om:

  • Workflows starten en stoppen

Workflows starten en stoppen

Bij het oplossen van problemen met modules in Workplace komen sommige problemen voort uit het proces dat de workflow ondersteunt. Wanneer workflows vastlopen of een foutmelding geven wanneer ze naar een andere status proberen te gaan, is het erg handig om te weten hoe je een workflow kunt stoppen en starten om uit te zoeken wat de oorzaak is. Soms kan dat zelfs het probleem oplossen. Meer over de basis van workflows in Workflow basics.

Een workflow stoppen

In dit voorbeeld gebruiken we een verzoek in de trainingsomgeving.

  1. Om bij de workflow te komen, navigeer je naar de instantiepagina van het verzoek.

  2. Op de instantiepagina kan al een stoppictogram staan. Zie schermafbeelding.

    Image Removed

  3. Als er geen stopknop is, navigeer dan naar het tabblad: workflow en klik daar op het stoppictogram.

  4. 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, zoals te zien is in de afbeelding hieronder:

...

Expand
titleAn active workflow
Image Removed

Actieve workflows hebben actieve taken.

Workflow-status wijzigen

Nu de workflow is gestopt, kunnen we de status van de workflow wijzigen. We kunnen dit doen om de workflow te dwingen de statussen opnieuw te doorlopen, of om het verzoek opnieuw te evalueren.

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

  2. Wijzig de status in het vervolgkeuzemenu op de aanvraagpagina.

Info

Bedenk welke andere velden gereset moeten worden bij het wijzigen van de workflowstatus. Bijvoorbeeld, een reservering is bevestigd en goedgekeurd door de Servicedesk, en nu wilt u de status terugzetten naar Concept. In dit geval moet u ook de approveDate leegmaken. Op dezelfde manier moet een werkorder opnieuw worden geopend als u de status van een gesloten werkorder wijzigt.

De workflow 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.

Samenvatting

Rw ui textbox macro
  • Een workflow starten/stoppen is erg handig bij het oplossen van problemen

  • Wanneer de workflow is gestopt, kan de status ervan worden gewijzigd

Zoek op

...

Stopping and restarting workflows

If a workflow-related process is put into a status it should not have been in. If for instance, a request is canceled by accident, it is possible to set the request back to another status (and step in the workflow). To do this, the following steps are needed:

  • Stop the workflow

  • Change the status of the object (e.g. the request)

  • Restart the workflow

These steps are described in detail below:

Stop a workflow

  1. To get to the workflow, navigate to the instance page of the object (for instance a request).

  2. On the instance page there is a stop icon (unless the object does not have a workflow or the workflow is already stopped). See screenshot.

    Image Added

  3. 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.

Change the status

Now that the workflow is stopped, it is possible to change the workflow status. This can be done to force the workflow to move through the statuses again, or to put the process back to an earlier status.

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

  2. Change the status in the status field.

Info

Keep in mind that other fields might need to be reset when changing the workflow status. For example, a request was handled and approved by the requestor, and now you want to change the status back to submitted. In this case you will also need to empty the close time.

Restart a 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.