QnectBPM guides Download PDF

Add-on guides · for Process Administrators, and CRM users who use the bar

Qnect BPM Stage paths

A stage bar on Sage CRM records that moves the record on or runs a process with one click.

On this page

The Stage paths add-on puts a bar on a Sage CRM record's summary page that shows where the record is, for example an opportunity's Qualified → Proposal sent → Negotiating → Closed won. Clicking a stage moves the record there, or runs a process on it. A process can also move the record with the Move stage step.

Without its key you can design and preview stage paths, but the bar doesn't show in CRM, and Move stage steps stop.

The bar on a record

The stage bar
The current stage is filled in. ▶ marks a stage that runs a process.
  • The current stage is filled in. Stages already passed are ticked.
  • A stage with ▶ runs a process when it's clicked.
  • One position can hold a group of stages. Closed won has a ▾ arrow listing Closed lost and Closed - no decision. When the record is at one of those, the bar shows it in that position.
A group of stages
The ▾ arrow lists the other stages in the group.

Users click a stage, confirm with Move or Run, and the page reloads with the record's new stage. A stage they can't click is greyed out, with the reason when they hover over it. The end user guide describes the bar from a user's side.

Setting up a stage path

On the Stage paths tab (Process Administrators):

The Stage paths tab
A stage path on Opportunity, with each stage's caption, action and who can click.
  1. Click Add stage path, give it a Name, and choose the Entity (Opportunity, Company, Case, Lead, Quote or Order) and the Stage field: the selection field that holds the stage, for example Stage (oppo_stage).

  2. Add the stages from the field's choices: Add all … choices, or Add a stage one at a time. Put them in order with the arrows, and Remove the ones you don't want on the bar.

  3. For each stage, set:

    SettingWhat it does
    Caption on the barLeave empty to use the CRM caption.
    Clicking itMoves the record to this stage, or Runs a process. A process must be published with the start Someone clicks a button on a record on this entity.
    Also set on moveOther fields to set with the move, for example Status = Won. Click Add a value.
    Who can clickEveryone who can open the record, or Process Designers only.
    Group with the stage abovePuts the stage in the same position as the stage above, in that position's ▾ list. The first stage of a group is its main stage, shown on the bar; Make main moves another to the front. Give the group a Group name (for example Closed): the Move stage step lists the stages under it.
  4. Check the Preview: choose a stage, or type a record ID, to see the bar as users will.

  5. Leave Show the bar in Sage CRM ticked and click Save. One stage path per entity can be on.

Saving checks the path: each choice of the field can be on it once; a group's stages must be next to each other (at least two of them), and the bar needs at least two positions; the stages must be choices of the field; a stage's process must be published with a button start on the entity; and the extra values must be fields of the entity.

What a click does

  • Move: Qnect BPM checks again that the add-on is licensed, the path is on, the stage is on it and the user may click it. Then it writes the stage field, and the stage's other values, through the Sage CRM REST API. Processes that watch the stage field start as if the user had saved the record themselves.
  • Run: the same checks as the Run process page (the process is published with a button start on the entity, the user may run it, its condition is met), plus the stage's own Who can click. While the process runs, the stage shows a spinner. When it ends, the bar shows where the record is then: the process may move it on with a Move stage step.

Every move is written to Qnect BPM's audit log. A stage's process needs the Qnect BPM licence to allow runs; a move needs only the Stage paths add-on.

The Move stage step

Processes can move a record along a stage path with the Move stage step, for example at the end of a process started by clicking a stage. Choose the Stage path, the stage to Move to, and optionally Only if the record is at a given stage, so a record someone has moved meanwhile is left alone. It moves the record exactly as a click does, and processes that watch the stage run as if the user who started the run had saved it. The process designer guide describes its fields.

Putting the bar on CRM screens (administrators)

  1. Marketplace → Stage paths → Install, and make sure its key is on the Licence tab.

  2. Click Download Sage CRM component on the tile. In Sage CRM, Component Manager, upload it, select QBPMStagePaths and Install Component (after the Qnect BPM component). Options:

    OptionWhat to enter
    Stage bar on the … summary screenTick each entity that should show a bar.
    Stage bar screensLeave empty unless your summary screens have other names than the standard ones, for example Lead: LeadBoxLong.
    Stage bar placementLeave empty: the bar goes under CRM's alerts, above the first panel. Otherwise the CSS selector of the element the bar goes just above, or - to keep it inside the summary screen.
    UninstallLeave unticked.
  3. Refresh metadata, then choose I've installed it in Sage CRM on the tile.

The component adds a short script to the custom content of each chosen summary screen, between <!--QnectBPM:stagepath--> markers, and keeps the screen's own content. Installing it again replaces the bars it added; Uninstall removes only the bars. It needs no shared secret: it uses the Qnect BPM component's settings.

Good to know

  • If the record's stage isn't on the path, every stage shows as upcoming and the bar says so.
  • Changing the stage field with a Modify data step still works, but doesn't set the stage's other values or tell processes watching the stage. Use Move stage instead.
  • The bar's frame finds the record from the summary page, so it shows on summary screens only.