×

Please give details of the problem

Skip to content

How to resume processes

When rebooting a process request, you may find yourself in either of those situations :

  1. Your process does not have a father
  2. You have a father process that has triggered a son process (and the error is in the son process)

First case : Your process does not have a father

Before trying to reboot your process, you have to understand what exactly will be re-executed if your reboot it.

Here's an example :

In your process, you configured some input variables and some output variables for your step 2

2011-10-28_170221

Let's say you have a process instance like this :

2011-10-28_171852

As you know, when the process is running and reaches step 2, the different actions will be executed:

  1. Input variables are computed
  2. The activity is triggered (Email, Connector, Sub process or Manual)
  3. Output variables are executed

When your process turns red, the main questions are:

  • WHERE is the error?
  • WHERE should I reboot ?
  • HOW to reboot?

In this example, something's wrong with one of the input variables of step 2 (check error message in red). You've identified the error so you fix your process design. Now, where to reboot?

If you reboot on a specific activity, ONLY the output parameters will be computed again.

How to reboot?

1 Edit the process instance

2011-10-28_173430

2 Click on 'OK' when pop is prompted (You're warned! ;))

2011-10-28_173443

3 Put step 2 as "Not executed'

2011-10-28_175955

4 Put step 1 as "Waiting" (= we're going to reboot from step 1)

2011-10-28_180016

5 Edit the computed parameters (Optional)

You can edit the computed parameters or add new ones

  • Click on 'parameters' tab

2011-10-28_182853

  • Click on 'Computed parameters' tab

2011-10-28_183002

You should see this:

2011-10-28_183218

  • To edit the 'comment' variable:
    • Click on its name

2011-10-28_183316

  • Then edit its value (1) and click on Ok (2)

2011-10-28_183353

  • To add a new variable and its value:
    • Enter variable name (1), enter its value (2) and click on 'Add parameter' (3)

2011-10-28_183737

  • To delete an existing computed parameter, just click on the bin icon on the right

6 Save your process instance

2011-10-28_180349

7 Enter a comment (1) and click on "change status to waiting" (2)

2011-10-28_180448

8 Now click on 'Play' (= 'please reboot the process Now')

2011-10-28_180700

9 Come back to normal view

2011-10-28_180729

10 Now refresh the view of the process execution

2011-10-28_180756

Your process has been relaunched!

Note :
Be careful when you reboot processes where connectors are configured : the P_result global variable generated as output of each activity is OVERWRITTEN on every step.
So if you reboot on the step before where output variables using P_result are configured, IT WILL LEAD TO AN ERROR (because the value of P_result has been overwritten on the next step!)

Second case : Your process has been triggered by a father process

Example:

2011-10-28_185606

2011-10-28_185615

The procedure is:

you don't edit father process instance. You directly reboot the son process (see CASE #1)