Watch a process run
Every run of a process has a page: the route it has taken so far, where it is now, who it's waiting on, and everything that has happened, in order. From there you can pause it, stop it, or hand a waiting task to somebody else. We followed one change request from start to finish.

Once a process is running, the question changes from how does it work to where has this one got to? A customer rings about their request. A manager wants to know why something has been sitting for a week. Somebody is on holiday and their tasks need to go to somebody else.
Each run has a page in the maker portal that answers those questions. We followed one run of the
Two-Step Record Approval sample from samples/solutions/bpms-two-step-record-approval, the same
process as in A two-step approval: a change request that one
manager reviews and a second approves. Robin Park holds Change Reviewer and Sam Taylor Change
Approver.
The runs
In the maker portal, open the solution, then Processes, the process, and Runs:

Newest first. Version is the version of the process the run started on; a run finishes on that version even if you publish another meanwhile. Waiting on says who has the run's open task.
Where it is now
We'd just sent a change request, Extend Contoso payment terms, for approval. Open its run:

The diagram shows only the steps this run has reached, each with the time it got there, in the lanes of the process. The one it's at now is outlined and says here now.
Waiting on lists every step the run hasn't got past, who it's offered to, since when, and when it's due if it has a deadline.
The diagram has a fixed height. A longer run carries on below and to the right: scroll over it with the mouse wheel to move down, and hold Shift to move sideways.
Pause and Stop
Pause holds the run: nothing moves until you Resume it.

Stop ends the run for good, and asks why (that's optional). Use it for a request that was raised by mistake, not for one that should be turned down: turning it down is the approver's decision, and should be recorded as theirs.
One step's history
Select a step on the diagram, and the history under it shows only what happened at that step:

Show the whole run puts everything back. Our pause and resume are there because they happened while the run was at this step.
That's new. A pause, a resume and a retry used to appear in the history as Step, with no word for what had happened. They now say Paused, Resumed and Tried again.
Hand a task on
Hand on, beside a waiting step, gives its task to somebody else:

Choose who it goes to, and it goes to them. It's the answer to the person who has this is away: nothing about the process changes, only who has this one task.
The run moves on
Robin reviewed the request and sent it for approval. Refresh the run's page:

Review and correct is done, the connection it left by is labelled with Robin's button, and Approve the change is waiting on the Change Approver role. Then Sam approved it. Scrolled down, the finished diagram reads from the first step to the last:

What happened
The whole run, in order:

- Reached is the run arriving at a step, and via names the connection it came by.
- Task raised and Task completed are a person's step starting and finishing, with the button they pressed and who pressed it.
- Paused and Resumed say who did it.
- Route ended and Run ended close it. A process with parallel routes ends each route before the run.
Answering the usual questions
The run's page is where most questions about a process are answered, and each has a place to look:
| The question | Look at |
|---|---|
| Where has my request got to? | The step marked here now, and Waiting on |
| Who has it? | Waiting on: the role or person it's offered to |
| How long has it been there? | Waiting on: waiting since |
| Why did it go to Finance and not to the department head? | What happened: the Branched line, and the variables the step before set |
| Who approved it, and when? | What happened: Task completed, with the button and the person |
| Why has it stopped? | What happened: the last lines, such as a failed step's message, or could not be assigned to anybody |
A customer ringing about a request usually starts from the record, not the run. That is a good reason for every process to keep the record's status up to date at each stage, as the samples do: the first answer, it's with the second manager, is then on the record for anybody with access to read.
Pause, Stop, and the alternatives
The two buttons are for the process's keeper, not for the people in it. A few situations, and the right answer for each:
| Situation | Do | Not |
|---|---|---|
| A request was raised by mistake | Stop it, with the reason | Ask somebody to reject it: that records a decision nobody made |
| The process has a bug and you need to fix it before this run moves on | Pause, publish a fix, start a fresh run, Stop the old one | Leave it to run into the bug |
| The person with the task is away | Hand on, to somebody who can decide | Pause the whole run |
| A record changed and the run should notice | Nothing: later steps read the record afresh | Stop and restart |
Remember that a paused run stays on its version. Publishing a fix doesn't move a paused run onto it; the run resumes where it was, on the version it started with.
When a run fails
A step whose script fails, or a called process that gives up, stops the run's route with the reason in What happened. Three things help put it right:
- Read the reason. It names the step and, for a script, the error, such as a record that no longer exists.
- Fix the cause. A missing role, a record deleted by hand, a variable nothing set.
- Try again from the run's page, where it is offered, so the step runs once more. The history then says Tried again, with who did it.
Work the process queued in the background, such as a step after a timer, that fails after its retries also appears in Failed background work, with Process as its kind. When background work fails shows that list.
Questions that come up
Can the people in a process see this page? It is in the maker portal, for makers and administrators. The people doing the work see their own tasks in My tasks, and the record's status.
Is a stopped run's history kept? Yes. Stopping ends the run; its page, its diagram and What happened stay, so the record of what was done, and why it was stopped, remains.
Can I find the run for a particular record? The Runs list doesn't say which record each run is about yet. Start from the time the record was submitted, or the person who started it, and open the runs from around then.
Try it
Send a change request for approval and keep its run's page open. Pause it and resume it, refresh the page after each person decides, and select each step to read its own history.
Next: how a process is doing overall: how many runs, how long they wait, and where work gets stuck.