QnectBPM guides Download PDF

User guides · for Sage CRM administrators, IT staff and Qnect partners who install it

Qnect BPM administrator and installer guide

Install Qnect BPM on a Sage CRM server, license it, add add-ons and keep it running.

On this page

This guide is in two parts. Installing takes you from the first conversation with the customer to a working process, step by step. Running Qnect BPM covers what administrators look after afterwards: the licence, add-ons, connections, email, roles and day-to-day checks.

How to design processes is in the process designer guide. Each add-on (Screen designer, Stage paths, Charts on screens, Sage Intacct, Sage X3 and Companies House) has its own guide.

How Qnect BPM fits with Sage CRM

Qnect BPM installs on the Sage CRM server itself, beside CRM:

Sage CRM server
├─ IIS
│  ├─ Sage CRM (existing)              /crm
│  │  └─ CustomPages\QnectBpm          added: designer tab, Process Log, Run process, sign-on pages
│  └─ Qnect BPM engine (new)           /spd      app pool "QnectBpm"   C:\QnectBpm\api
├─ Windows service "Qnect BPM Worker"  (new)                             C:\QnectBpm\worker
├─ Sage CRM REST API (existing)        used for every CRM read and write
└─ SQL Server
   ├─ CRM database (existing)          read-only login for metadata
   └─ QnectBpm database (new)          processes, runs, logs, connections
PartWhat it is
EngineThe website that serves the designer, receives CRM signals and signs users on. IIS application /spd, app pool QnectBpm.
WorkerThe Windows service that runs processes, schedules, interrupted-run recovery and the regular check for missed saves. Service QnectBpmWorker.
Product databaseProcesses, versions, runs, step logs, connections and the audit log. SQL Server database QnectBpm.
CRM pagesThe designer tab, Process Log tab, Run process page and sign-on pages, in CRM's CustomPages\QnectBpm.
Table-level scriptsTell the engine when a record is saved. One per entity with record-saved processes.

How it works with Sage CRM:

  • Reads and writes of CRM records go through the Sage CRM REST API as a dedicated integration user, so CRM's own business rules apply.
  • CRM metadata (entities, fields, captions, document templates, users, screens) is read over a read-only SQL login.
  • Two writes go outside REST: Create document copies PDFs into the CRM document store under DocStore\QnectBPM\, and the **Screen designer** add-on writes screen layouts to Custom_Screens, only if you enable it. Nothing else in the CRM database is ever written.
  • Signing in: users sign in through their live CRM session. The CRM page asks the engine for a one-time ticket, server to server, using a shared secret. The browser never supplies an identity. That's why Qnect BPM must be on the CRM server, not a separate machine.

Requirements

ItemNeeded
Sage CRM2026 R1, with its REST API enabled.
Windows Server with IISThe CRM server: Windows Server 2016 or later, 64-bit.
ASP.NET Core 8 Hosting BundleInstalled on the server. The installer can install it.
IIS Application InitializationRecommended, so the engine is always loaded. The installer can add it.
SQL ServerReachable from the CRM server, usually CRM's own instance, with sqlcmd.
A Sage CRM integration userFor the REST API, with rights to the entities processes read and write.
Outbound HTTPSTo qnect-licensing.qnect.cloud (licence keys) and the Marketplace catalogue. A proxy is fine. Servers without internet can use pasted keys and offline files.
OptionalA Microsoft Entra ID app registration, for email through Microsoft 365. A Syncfusion licence key, for PDF documents without the evaluation notice.

Installing

An install takes about two hours: half an hour for preparation and the installer, half an hour in Sage CRM, and an hour for checks and a first process. Plan a CRM metadata refresh during the setup; users may notice a brief pause.

Before you go on site

Agree these with the customer first.

ItemNotes
A dedicated CRM integration userFor example qnectbpm. Every change processes make in CRM is made as this user.
Who designs and who publishesBy default CRM System Administrators publish and Info Managers design. See Who can use it.
Which entities need record-saved processesEach gets a table-level script.
Which entities need a Run process buttonFor example Quote, Opportunity, Company, Person, Case.
EmailWhether processes will send email through Microsoft 365.
DocumentsWhether processes will make PDFs from CRM templates, and whether the customer has a Syncfusion licence key.
Add-onsWhich add-ons the customer has bought or wants to try.
Screen designerWhether the customer wants the Screens tab to change CRM screens. Off unless agreed.
A test CRMStrongly recommended. Install and try everything there before the live system.

Step 1: Prepare Sage CRM

  1. Create the integration user (Administration → Users), for example qnectbpm, with a strong password that doesn't expire. Give it access to the entities processes will use; System Administrator is simplest. Nobody should sign in to CRM as this user: Qnect BPM ignores its saves, so it can tell its own changes from people's. Don't use admin.
  2. Check the REST API with the integration user: on the server, open http://<server>/sdata/crmj/sagecrm2/-/Company and sign in as that user. You should see company data, not an error. (crm in crmj is the CRM install name; change it if the install isn't called crm.)
  3. Note the CRM install details: the WWWRoot folder (for example C:\Program Files (x86)\Sage\CRM\CRM\WWWRoot), the install name (crm), and the database server and name (localhost, CRM).

Step 2: Check the server

The installer checks the server itself and installs what it can. To check a server beforehand, for example before going on site, run the same check. Copy the release's Core folder to the server, then in PowerShell as Administrator:

cd C:\Temp\Core
powershell -ExecutionPolicy Bypass -File .\Test-Prerequisites.ps1 -CrmUser qnectbpm

It lists what's missing and how to fix it:

AreaChecks
WindowsWindows Server 2016 or later, 64-bit; no restart pending.
IISThe web server, the IIS PowerShell module, ASP, Application Initialization (recommended), the IIS site.
.NETThe ASP.NET Core 8 Hosting Bundle.
SQL Serversqlcmd on the PATH; the SQL Server answers; your account can create databases and logins; the CRM database is there.
Sage CRMThe WWWRoot folder; the REST API asks for a sign-in; the integration user exists and is active.

Options:

  • -Install also adds missing Windows features, downloads the Hosting Bundle from Microsoft (and runs it only if Microsoft signed it), restarts IIS, and puts sqlcmd on the PATH. It never changes Sage CRM or SQL Server.
  • -HostingBundle <file> uses a Hosting Bundle you downloaded elsewhere, on a server without internet.
  • -CrmWwwRoot, -CrmInstallName, -SqlServer, -CrmSqlServer and -CrmDatabase for a CRM or SQL Server that isn't the default. A named instance is server\instance, for example localhost\CRMEXPRESS2022.
  • -SqlUser sa checks with a SQL login (it asks for the password) when your Windows account has no rights on the instance.

Some things only you can fix: installing sqlcmd if it isn't there at all, SQL rights, and the CRM integration user. Do those before the installer.

Step 3: Get the release

Qnect gives you the release as a folder:

release-1.1.20261204\
├─ Core\
│  ├─ QnectBpm-Setup-1.1.20261204.exe     the installer
│  └─ Test-Prerequisites.ps1              the server check (Step 2)
└─ Addons\                                one folder per add-on, for servers without internet
   ├─ Screens\         screens-1.1.qnectpkg
   ├─ StagePaths\      stagepaths-1.1.qnectpkg, QBPMStagePaths-component.zip
   ├─ Charts\          charts-1.0.qnectpkg, QBPMCharts-component.zip
   ├─ SageIntacct\     sage-intacct-1.0.qnectpkg, QnectBPMIntacct-component.zip
   ├─ SageX3\          sage-x3-1.0.qnectpkg, QnectBPMX3-component.zip
   └─ CompaniesHouse\  companies-house-1.1.qnectpkg, QBPMCompHouse-component.zip

The installer holds the core product only. Add-ons are installed afterwards, from the Marketplace tab or from these files. Copy the Core folder (and any add-on folders you'll need offline) to the server, for example to C:\Temp.

Step 4: Run the installer

On the server, signed in as a Windows administrator, run QnectBpm-Setup-<version>.exe. The wizard asks:

PageWhat to enter
Install folderC:\QnectBpm by default; any local folder works. Asked on the first install only. This guide's paths use the default.
Sage CRMThe CRM WWWRoot folder.
Sage CRM addressesInstall name (crm), the CRM server address (http://localhost) and the engine address (http://localhost/spd).
Sage CRM integration userIts logon and password (Step 1). On an update, leave the password empty to keep the current one.
SQL ServerThe server and name of the Qnect BPM database (localhost, QnectBpm) and of the CRM database (localhost, CRM), and the CRM caption language. With one SQL Server instance on the server, setup fills in its name. Tick Let the Screen designer add-on save Sage CRM screen layouts only if the customer agreed.
SQL Server sign-inHow setup signs in to create the database and the engine's logins. Leave it empty to use your Windows account, or enter a SQL login with those rights, such as sa. It's used during setup only and never saved; the engine always uses Windows authentication.
Checking the serverNothing to enter: setup runs the server check with your answers and lists each result. If anything is missing, click Install missing items, fix anything else by hand, and click Check again. Next goes on only when nothing is missing; warnings don't stop it. If something it installed needs a restart, setup offers to restart: run it again afterwards and it fills in your answers.

Setup then:

  1. Stops the engine and Worker if they're running (on an update).
  2. Copies the engine to C:\QnectBpm\api and the Worker to C:\QnectBpm\worker, and lets only Administrators and SYSTEM change C:\QnectBpm.
  3. Creates the QnectBpm IIS app pool and the /spd application, set to stay loaded.
  4. Writes appsettings.Production.json, readable only by Administrators, SYSTEM and the engine's accounts. Creates the QnectBpm database and gives the engine access to it and read access to the CRM metadata tables and document store. Finds the integration user's CRM user ID. Installs and starts the Qnect BPM Worker service.
  5. Copies the CRM pages to WWWRoot\CustomPages\QnectBpm, with the engine address and a new shared secret (an update keeps the existing secret).

Everything it did is in C:\QnectBpm\logs\setup-<date-time>.log, ending with a health check that should show engine=ok crmMode=Rest crmReachable=True. If setup fails, it says so and names the log: fix the problem and run the installer again with the same answers.

The install folder:

C:\QnectBpm\
├─ api\          the engine (IIS application /spd)
├─ worker\       the Worker service
├─ addons\       add-on packages
├─ Components\   QnectBPM-component-<version>.zip: the Sage CRM component (Step 5)
├─ crm\          the CRM pages and table-level script template
├─ scripts\      install, add-on and uninstall scripts
└─ logs\         set-up logs

Keep the shared secret. You need it for the Qnect BPM component (Step 5) and for table-level scripts. It's in C:\QnectBpm\api\appsettings.Production.json under SageCrm:SharedSecret, which only administrators can read. To copy it, in PowerShell as administrator:

(Get-Content C:\QnectBpm\api\appsettings.Production.json -Raw | ConvertFrom-Json).SageCrm.SharedSecret | Set-Clipboard

Don't email it or put it in a ticket.

Silent install (for example from a deployment tool): pass the answers as parameters and the password in the QNECTBPM_CRM_PASSWORD environment variable:

$env:QNECTBPM_CRM_PASSWORD = Read-Host "Password" ; .\QnectBpm-Setup-1.1.20261204.exe /VERYSILENT /CrmWwwRoot="C:\Program Files (x86)\Sage\CRM\CRM\WWWRoot" /CrmUser=qnectbpm /SqlServer=localhost /CrmSqlServer=localhost

Other parameters: /SqlUser (with the password in QNECTBPM_SQL_PASSWORD), /CrmInstallName, /CrmBaseUrl, /EngineUrl, /ProcessDbName, /CrmDbName, /MetadataLanguage, /EnableScreenDesigner=1, /InstallPrerequisites=1 (installs what's missing instead of stopping) and /HostingBundle=<file>. /LOG=<file> writes the installer's own log.

Step 5: Add Qnect BPM to Sage CRM

Do this in Sage CRM, signed in as a System Administrator. The Qnect BPM component does it all in one go.

  1. Administration → Customisation → Component Manager.

  2. Under Add component, choose C:\QnectBpm\Components\QnectBPM-component-<version>.zip and click Upload new component.

  3. Select Qnect BPM in Available components, then Install Component.

  4. Fill in the options:

    OptionWhat to enter
    Qnect BPM engine addresshttp://localhost/spd
    Shared secretPaste it (Step 4). It's a plain text box, so make sure nobody is watching the screen.
    Add Qnect BPM to the Administration menuTick.
    Add a Process Log tab…Tick if wanted.
    Add a Run process button…Tick if wanted.
    Table-level scriptsOne entity per line, with the fields processes watch, for example Opportunity: oppo_stage, oppo_status. Entities other than Company, Person, Opportunity, Cases, Quotes and Lead need their ID column: Entity|id_column: fields.
    UninstallLeave unticked.
  5. Install Component, and confirm CRM's warning about overwriting other components' changes (the component only changes its own entries). The messages list each part added. If an option is wrong, they say so and nothing is changed.

  6. Refresh metadata: Administration → System → Metadata, tick Refresh all, Execute Refresh. The menu entry, tabs and buttons appear only after this.

Installing the component again replaces the entries it added before, so use that to add an entity or change watched fields. Tick everything you want to keep: an option left unticked removes that part. Other components' entries are left alone. To remove the Qnect BPM entries, install it again with Uninstall ticked.

The same changes can be made by hand; see Setting up Sage CRM by hand.

Step 6: License it and add add-ons

Open Administration → Qnect BPM → Licence.

The Licence tab
The Licence tab on a server that is on its trial.
  1. Under Qnect licensing, click Get key. A new server gets a 14-day trial key straight away. A server Qnect already knows gets the keys the customer has bought. If Qnect sent you an activation code (for example after a purchase, or when moving to a new server), open I have an activation code from Qnect, paste it and click Connect instead.
  2. The server now checks in with Qnect once a day and saves the licence and add-on keys the customer is entitled to. Nothing more is needed when they buy or renew.
  3. Open the Marketplace tab and install the add-ons the customer wants (see The Marketplace). Install each add-on's Sage CRM component where the tile asks for one.

Servers without internet. Send Qnect the Server name and Sage CRM licensed to values under This installation, then paste the key you receive under Enter a licence key. Install add-ons from the release's Addons folder under Licence → Add-on packages → Install add-on package, and paste their keys under Add-ons.

Step 7: Who can use it

By default:

  • CRM System Administrators are Process Administrators: publish, connections, screens, stage paths, Marketplace and licence;
  • Info Managers are Process Designers;
  • other CRM users can only use the Run process page, answer questions processes ask them, and click stage bars.

To change this, edit the Access section in both settings files, C:\QnectBpm\api\appsettings.Production.json and C:\QnectBpm\worker\appsettings.Production.json:

"Access": {
  "Administrators": { "MinAdminLevel": 3, "Logons": ["jbloggs"] },
  "Designers": { "MinAdminLevel": 2, "TeamIds": [4] }
}

A user gets a role when any of these matches: their CRM administration level (MinAdminLevel: 3 = System Administrator, 2 = Info Manager), their primary team (TeamIds), or their logon (Logons). Administrators can do everything Designers can. Then restart:

Restart-WebAppPool QnectBpm; Restart-Service QnectBpmWorker

Step 8: Optional features

Email through Microsoft 365

Without this, Send email steps are logged and filed in CRM but not sent.

  1. The customer's Microsoft 365 admin registers an app in Entra ID with the Mail.Send application permission and grants admin consent. They give you the tenant ID, client ID, a client secret and the mailbox to send from.

  2. In Qnect BPM, Connections → Add connection:

    • Name: Microsoft 365
    • Base URL: https://graph.microsoft.com
    • Sign-in: OAuth 2.0 client credentials
    • Token URL: https://login.microsoftonline.com/<tenant ID>/oauth2/v2.0/token
    • Client ID and Client secret: the app's
    • Scope: https://graph.microsoft.com/.default

    Save, then Test sign-in.

  3. In both settings files, set "Email": { "Sender": "Graph", "From": "crm@customer.com" } (and "SaveToSentItems": true to keep a copy).

  4. Restart the app pool and the Worker.

Attachments are sent inline, up to 3 MB in total.

PDF documents

Create document uses CRM's own Word templates, and the installer has already given the engine access to the document store. To remove the evaluation notice from PDFs, add "Documents": { "SyncfusionLicenseKey": "<key>" } to both settings files and restart.

Screen designer

Only if the customer agreed. Tick the box in the installer (or run it again with it ticked). See the Screen designer guide.

Step 9: Check the install

Work through these, signed in to CRM as a System Administrator.

CheckExpected
http://localhost/spd/api/health on the server"engine":"ok", "crmMode":"Rest", "crmReachable":true
Services: Qnect BPM WorkerRunning, startup Automatic (Delayed Start).
Administration → Qnect BPMOpens inside CRM, with your logon on the right.
Licence tabLicensed or Trial, with the right server and CRM names.
Design: open a new process, add a Read data step, open EntityLists the CRM's entities.
Create document step: TemplateLists the CRM's document templates (if documents are used).
A record-saved testSee below.
Run process on a record (if added)The page opens and lists published button processes.
Process Log tab (if added)Opens and shows that record's runs.
Connections: Test sign-in on each connectionSucceeds.

Record-saved test. Make a small process: a Record saved start on Opportunity (Record updated) and a Read data step reading the saved opportunity ({{record.oppo_opportunityid}}). Publish it, save a test opportunity in CRM, and check that Runs shows a completed run within a few seconds. Then archive the process.

If no run appears, check the Opportunity table-level script (Step 5) and the Windows Application event log for "Signal received". The engine's regular check also picks the save up within about a minute.

A user test. Sign in to CRM as a Process Designer (not an administrator) and check they can open Qnect BPM but can't publish and don't see Connections or Licence.

Step 10: Hand over

  • Guides: give the customer the end user, process designer and administrator guides, and the guide for each add-on they have.
  • Show their administrators: Library, Design, Runs, the Process Log tab, how to archive a process, the Licence and Marketplace tabs, the health page and the event log.
  • Record for the site file (not in email): the integration user, the install paths, which entities have table-level scripts, Process Log tabs and Run process buttons, and which add-ons and optional features are on.
  • Backups: make sure the QnectBpm database is in the customer's SQL backups.

Updating

  1. Back up the QnectBpm database.
  2. Run the new QnectBpm-Setup-<version>.exe. It finds the install and fills in your answers; leave the password empty to keep the current one. It stops the engine and Worker, replaces the files, keeps the database and shared secret, and starts everything again. Database changes are applied automatically.
  3. Settings you changed by hand (Access, Email, Documents) need adding back afterwards.
  4. The new Qnect BPM component replaces the old one in C:\QnectBpm\Components. Install it in CRM only if the release notes say it changed.
  5. Repeat the checks in Step 9.

Runs already going carry on after the update, from the step they'd reached.

Updating an add-on doesn't need the installer: the Marketplace shows Update available with an Update button. See Add-ons.

Removing Qnect BPM

  1. In CRM, install the Qnect BPM component again with Uninstall ticked (and each add-on's component with Uninstall ticked), then refresh metadata.
  2. On the server, uninstall Qnect BPM (Settings → Apps). It stops and deletes the Worker service, removes the /spd application and the QnectBpm app pool, and deletes the program files and settings files. It leaves C:\QnectBpm\addons, the logs, the databases and the CRM pages.
  3. Delete C:\QnectBpm and WWWRoot\CustomPages\QnectBpm. Delete DocStore\QnectBPM only if the PDFs it made are no longer wanted (CRM's Library records point at them).
  4. In SQL Server, back up and then drop the QnectBpm database, and remove the engine logins (IIS AppPool\QnectBpm, NT SERVICE\QnectBpmWorker) and their read access on the CRM database.

Removing Qnect BPM doesn't undo changes processes made to CRM records, or screen layouts saved from the Screens tab. Those are ordinary CRM data and customisation.

Install checklist

Copy this into the site file and tick as you go.

Before

  • Sage CRM 2026 R1, REST API working
  • CRM database and WWWRoot backed up
  • Integration user created and REST checked
  • Server check run (Test-Prerequisites.ps1)
  • Roles, entities, buttons, email, documents, add-ons and screen designer agreed

Install

  • QnectBpm-Setup-<version>.exe run; health check: engine ok, Rest, CRM reachable
  • Shared secret recorded safely
  • Qnect BPM component installed; metadata refreshed
  • Table-level scripts on: ____________________
  • Process Log tabs on: ____________________
  • Run process buttons on: ____________________

Licence and add-ons

  • Get key (or activation code, or pasted key)
  • Add-ons installed: ____________________
  • Each add-on's Sage CRM component installed

Settings

  • Access roles set (both settings files)
  • Email (Microsoft 365 connection tested, Email settings)
  • Syncfusion licence key
  • Screen designer (only if agreed)

Checks and hand-over

  • Qnect BPM opens inside CRM; entities and templates listed
  • Record-saved test run completed, test process archived
  • Designer user can't publish
  • Guides given, administrators shown the product, site file updated
  • QnectBpm database in backups

Running Qnect BPM

Roles

Roles come from CRM user details through the Access settings (Step 7); the browser never decides them.

RoleCan
Process AdministratorEverything a Designer can, plus publish, archive and restore processes, manage connections, run schedules on demand, design CRM screens, set up stage paths, use the Marketplace and manage the licence.
Process DesignerOpen Qnect BPM, design and save drafts, make process forms, import and export, delete never-published processes, run "Run by a user" processes, see all runs and the Process Log tab.
Other CRM usersNo access to Qnect BPM itself or the Process Log tab. They use a record's Run process page for buttons open to everyone, answer questions processes ask them, and click stage bars.

The licence

Each installation's licence is tied to two things: the server's Windows computer name and the Sage CRM "Licensed to" name, as on CRM's sign-in page. Moving Qnect BPM to another server, renaming the server or changing the CRM "Licensed to" name needs a new key: ask Qnect for an activation code.

The Licence tab shows:

  • the state: Licensed, Trial or Not licensed, and why;
  • Active processes: N of M (or N, unlimited), with a warning when no place is free;
  • This installation: the server name and Sage CRM "Licensed to" name a key must match;
  • Qnect licensing: whether the server is connected, when it last checked in, and Get key or Update key;
  • Enter a licence key, for pasted keys;
  • Add-ons and Add-on packages.

Qnect licensing

Once you've clicked Get key (or connected with an activation code), the server checks in once a day, at a random time and a few minutes after each start, and saves the licence and add-on keys your organisation is entitled to. Once a key is installed the button reads Update key: it checks in at once, for example straight after a purchase or a trial extension. Disconnect stops new and renewed keys arriving; keys already saved keep working until their end dates.

  • What a check-in sends: the server name, the Sage CRM "Licensed to" name, the Qnect BPM version, the add-ons installed and the IDs of the keys held. Nothing about CRM records, users, processes or runs.
  • Outbound only: the server calls https://qnect-licensing.qnect.cloud over HTTPS; nothing calls in.
  • A proxy: set Licensing:Proxy (for example http://proxy:8080), and Licensing:ProxyUseDefaultCredentials = true to send the service account's Windows credentials.
  • Turning it off: Licensing:CheckIn = false. The server is then licensed with pasted keys only.
  • If it can't reach Qnect: keys keep working until their end dates (subscription keys last about five weeks and are renewed well before). From 14 days before they end, the Licence tab warns.

When the trial ends or a key stops being valid

  • Stops: processes stop starting: record saves, schedules, Run process buttons, stage processes and Run.
  • Keeps working: the designer, library and run history, and runs already going finish.
  • Banner: a red line in Qnect BPM says why, for designers and administrators.

Active processes

A licence allows 10, 20, 30 or unlimited active processes. Each active process runs as often as it's needed; runs are never counted.

  • Active means published and not archived. Drafts don't count, and nor do processes that came with a content add-on (Sage Intacct, Sage X3, Companies House): their add-on key licenses them.
  • Needs a free place: publishing a process for the first time, publishing an archived process, and restoring one.
  • Needs no extra place: publishing a new version of a process that's already active.
  • At the limit, Publish and Restore are refused with, for example, You have 10 of 10 active processes. Archive one or ask Qnect for a larger licence. Archive a process to free its place.
  • Over the limit (a key with a smaller limit was entered): everything already published keeps running and can still get new versions, but nothing else can be published or restored until enough are archived.
  • The trial is unlimited.

To change tier, ask Qnect (the Marketplace has Ask Qnect about a larger licence). The new key arrives at the next check-in, or at once with Update key.

Add-ons

The licence covers the core product: the process designer and engine, with every step except those below. Everything else is an add-on, with its own key for the same server and CRM:

Add-onWithout its key
Screen designerScreens and process forms can be designed but not saved to Sage CRM, and processes that ask for a form don't start.
Stage pathsStage paths can be designed and previewed, but the bar doesn't show on CRM records and Move stage steps stop.
Charts on screensCharts can be designed and previewed on the Screens tab, but don't show on CRM records.
Web service connectionsConnections and methods can be set up and tested, but Call web service steps don't run, and a process that uses one can't be published. Email through Microsoft 365 isn't affected.
Content add-ons (Sage Intacct, Sage X3, Companies House)Their processes show as locked: the diagram opens, but step settings are hidden (they're never sent to the browser), and the process can't be saved, published, exported or run.

With its key, an add-on works fully, and a content add-on's processes become like your own. If a key ends or is removed, the add-on locks again: its processes stop starting, and runs already going finish.

Trials of add-ons. The 14-day trial doesn't include add-ons. Where Qnect offers one, Start -day trial on the add-on's Marketplace tile gets a trial key from Qnect licensing and saves it, with nothing to paste. One trial per add-on for each customer.

The Marketplace

Process Administrators see a Marketplace tab. It shows every add-on in Qnect's signed catalogue as a tile: what it does, its price, its version and its status here, with Install or Update.

The Marketplace tab
Add-ons on the Marketplace tab (demo catalogue).
Status on a tileMeans
Not installedInstall it with Install.
Installed / LicensedInstalled here, with its key.
Update availableA newer version: Update.
Needs keyInstalled, but no key. Enter key opens the Licence tab; Start trial where offered.
Sage CRM step neededThe add-on has a Sage CRM component. Download Sage CRM component, install it with Component Manager, then choose I've installed it in Sage CRM. An update whose component changed asks again.
Needs a newer Qnect BPMUpdate Qnect BPM first.
Coming soonAnnounced, not out yet.
  • Install and Update download the package on the server, check that Qnect signed it and that it matches the catalogue, then install it. An add-on it needs is installed first. Qnect BPM restarts to load it (about a minute); reopen the Qnect BPM tab in Sage CRM afterwards.
  • Installing doesn't license: an add-on still needs its key.
  • Details shows the add-on's description, price, release notes and Sage CRM steps, with links to its Product page and Documentation (its guide).
  • Check now fetches the catalogue again (it's also fetched once a day). A catalogue that isn't signed by Qnect, or has been changed, is refused and the previous one stays.
  • Catalogue source: Import catalogue file takes a .qnectcat (the list) or a .qnectmarket bundle (with the packages, for servers without internet). Bundles too big to upload go in C:\QnectBpm\addons\marketplace\inbox; then choose Import from server folder. Catalogue address points at a mirror; Reset to Qnect goes back.
  • Fetching the catalogue sends nothing about this site.

Add-on packages

Under Licence → Add-on packages:

  • each installed add-on, with its version and Loaded, or Not loaded and why (for example needs the screens add-on);
  • Install add-on package: choose a .qnectpkg file from Qnect. It's checked first (signed by Qnect and unchanged, for this version of Qnect BPM, any add-on it needs already installed), then Qnect BPM restarts to load it;
  • Download Sage CRM component: for an add-on with a Sage CRM part, installed once per version with Component Manager;
  • Use version …: go back (or forward) to a version still on the server. Qnect BPM restarts;
  • Remove: stops loading the add-on (Qnect BPM restarts). Its tables, settings and processes stay, so installing it again brings it back as it was. Refused while another add-on needs it.

Without the browser, on the server as Administrator: C:\QnectBpm\scripts\Install-AddonPackage.ps1 -Package <file.qnectpkg>.

Under Licence → Add-ons, each add-on shows Licensed, Trial or Not licensed. Save add-on key takes a pasted key (it starts QBPMA1) and Import add-on file takes a signed .qnectaddon file of processes. Keys, imports and removals are written to the audit log.

Connections

Sage CRM integration user

Every change a process makes in Sage CRM is saved as the integration user. Qnect BPM ignores that user's saves, so a process never starts itself again from its own change, and data brought in from another system (such as Sage Intacct) isn't sent straight back.

To see or change it, open Connections → Sage CRM integration user. Enter a logon and password and click Test: Qnect BPM signs in to the CRM REST API as that user and finds its CRM user ID. Save does the same checks, then stores the password encrypted (it's never shown again). Processes use the new user within half a minute; no restart is needed.

Qnect BPM database

Connections → Qnect BPM database shows the SQL Server, database and sign-in the engine uses. To move to another database:

  1. Create it empty first (Qnect BPM creates its tables when it restarts), or restore a backup of the current one there to keep processes and history.
  2. Enter the SQL Server and database, and choose Sign in with: Windows sign-in (recommended; the engine and Worker accounts need db_owner) or a SQL Server login (with db_owner).
  3. Test, then Save. The settings go in %ProgramData%\QnectBpm\database.json, with any SQL password encrypted.
  4. Recycle the QnectBpm app pool and restart the QnectBpmWorker service. Until then the screen shows restart needed.

Connections to other systems

Processes reach other systems' REST APIs through named connections. A process stores only the name; the address and credentials live on the connection, so you can point a process from a test system to a live one without editing it.

The Connections tab
A connection with OAuth 2.0 sign-in and its methods.

On the Connections tab:

  1. Add connection: name (processes use it, and it can't be changed later), description, base URL.
  2. Choose Sign-in: none; API key (header name and key); Basic (user name and password); OAuth 2.0 client credentials (token URL, client ID and secret, scope, audience); OAuth 2.0 with a user's consent, for providers such as Xero or HubSpot (register the redirect URI shown with the provider, save, then click Connect and sign in once); or a signed token (JWT), for systems such as Sage X3.
  3. Optionally set extra headers, a timeout (default 30 s) and the largest response allowed (default 1 MB).
  4. Save, then Test sign-in.

Secrets are encrypted with Windows DPAPI in the product database. They're never shown again, sent to the browser, written to the run log or included in exports. Leave a secret field empty to keep the saved one. Connections defined in the settings file show as read-only.

How calls behave: paths stay relative to the base URL, so a process can't call any other host. Busy or unavailable (429, 5xx, timeouts): the call is retried. Rejected (4xx, failed sign-in): the step fails at once with the provider's message.

Methods

Each connection can have methods: the calls the API offers, with their request and response fields. Designers then map data to and from a method like a Sage CRM entity, instead of writing JSON.

  1. Select a connection and click Add method. Set the Name, Method (GET, POST, PUT, PATCH or DELETE), Path relative to the connection, with the parts that change in braces (/v1/customers/{customerId}/orders), Query parameters, and optionally a Description and Treat as success.
  2. Paste (or upload) an example request body and click Build fields from example. Do the same with an example response body. Use full examples: a field missing from the example can't be mapped.
  3. Check the fields: their types, captions designers will see, Required on the request fields the API needs, and Remove for fields nobody should use.
  4. Add method.

Import from Postman or OpenAPI builds methods from a Postman collection (v2.1) or an OpenAPI/Swagger file (2.0, 3.0 or 3.1, JSON or YAML). Tick the calls you want, then Import. Sign-in details in the file are never taken. Importing a call that already exists updates it, keeping your captions and required ticks.

When the API changes, paste a new example and build again: Qnect BPM lists the fields added, removed or changed, and keeps your captions and required ticks. Methods hold no secrets. An exported process carries the definitions of the methods it uses, and importing adds a missing method to a connection of the same name.

Documents

Create document uses Sage CRM's own Word templates (Administration → Email and Documents → Document Templates), with the same mail-merge regions as CRM's own Merge to PDF, for example «TableStart:Quotes» … «TableStart:QuoteItems» … «TableEnd:QuoteItems» … «TableEnd:Quotes». Saved PDFs are copied into DocStore\QnectBPM\, and the Library record that points at the file is created through REST, so the PDF shows on the record's Documents tab. The engine accounts have read access to the document store and change access to its QnectBPM folder only.

Moving processes between systems

  1. In the test system's library, tick the processes and Export the Published version.
  2. In the live system, Import the file. The check lists anything the processes need that isn't there yet: connections (add them with the same names), document templates (matched by name), entities and Run process buttons.
  3. Import as drafts, review and publish.

Exports never contain secrets.

Day-to-day running

TaskHow
Check it's upOpen http://<server>/spd/api/health: engine, crmMode and crmReachable. The Worker is the Windows service Qnect BPM Worker; it restarts itself after a failure.
See what a process didRuns tab, and each record's Process Log tab: every step with its inputs, outputs, tries and timing.
Engine and Worker messagesWindows Application event log. Each save shows as "Signal received".
Who changed whatThe audit log (spd.AuditLog in the product database): saves, publishes, archives, deletions, connections, screens, stage paths, keys and add-ons.
A faulted runOpen it on the Runs tab: the failed step shows the error and what it was given. Fix the cause, then let the process start again or run it again.
A run stuck on WaitingIt's waiting for someone to answer an Ask user step. A designer can Cancel run on the Runs tab.
RestartsRuns are saved after every step. After a restart, interrupted runs carry on from the next step, and each scheduled time runs once only.
Switch a process offArchive it in the library. Its triggers, schedules and buttons stop at once; runs already going finish.
BackupsBack up the QnectBpm database with the CRM database. Connection secrets are encrypted for this server, so after restoring to another server, enter them again.

Settings reference

Settings live in appsettings.Production.json in C:\QnectBpm\api (the Worker has its own copy in C:\QnectBpm\worker). Restart the app pool and the Worker after changing them.

SettingWhat it does
SageCrm:BaseUrl, InstallName, UserName, PasswordThe CRM and the REST integration user.
SageCrm:SharedSecretMust match the CRM pages and table-level scripts.
SageCrm:MetadataDb, MetadataLanguageRead-only connection to the CRM database for metadata, and the caption language.
SageCrm:DocStorePathCRM document store folder. Empty: read from CRM's settings.
SageCrm:ScreenDesignerDbConnection that may save screen layouts. Empty: screens can't be saved.
ConnectionStrings:ProcessDbThe product database.
Engine:MaxAttempts, RetryBaseDelayHow often a failing step is tried (default 3 attempts, starting 2 s apart).
Engine:MaxStepsPerInstanceSafety limit on steps per run (default 500).
Reconciliation:Enabled, Interval, LookbackThe regular check that catches saves the table-level scripts missed (default every 30 s).
AccessRoles.
Email:Sender, From, SaveToSentItems, GraphConnectionEmail sending.
Documents:SyncfusionLicenseKeyRemoves the evaluation notice from PDFs.
Licensing:CheckIn, Proxy, ProxyUseDefaultCredentialsQnect licensing check-ins and their proxy.
Marketplace:Enabled, CatalogueUrl, ShowPreview, RefreshHoursThe Marketplace: on or off, where the catalogue comes from, whether preview versions are offered, how often it's fetched (default 24 hours).

Security

  • Identity and roles: users are identified only through their live CRM session, with a one-time ticket the CRM page gets from the engine, server to server, using the shared secret. Roles come from CRM user details, never from the browser.
  • Shared secret: keep it private and the same on the CRM pages and table-level scripts. Change it by running the installer again.
  • Settings file: readable only by Administrators, SYSTEM and the engine accounts.
  • Database access: the read-only CRM login can read only the metadata tables it needs. The screen designer's write access is limited to one table and the engine's account.
  • Connections: secrets are encrypted and never leave the server; calls can't leave the connection's base URL.
  • Add-ons: packages, add-on files and the Marketplace catalogue must be signed by Qnect; anything unsigned or changed is refused.
  • Expressions: expressions in processes are sandboxed and can't run code, read files or call the network.

Troubleshooting

ProblemCheck
The Qnect BPM menu entry opens an error pageMetadata wasn't refreshed after installing the component. Open it from the Administration home page.
Sign in through Sage CRM to use Qnect BPMOpen it from inside CRM, not by URL. Check the shared secret in the component matches the settings file.
A user can't open Qnect BPMTheir CRM user doesn't match a role in Access.
Entities or fields missing in the designerThe designer lists entities exposed to the REST API. Check MetadataDb access, and wait up to ten minutes for new customisations (or recycle the app pool).
A record-saved process doesn't startIs it published and not archived? Is the table-level script on the entity, with the field in its watched fields? The regular check should still catch it within a minute; look for "Signal received" in the event log.
Processes have stopped startingLook at the Licence tab: the trial or key may have ended, or the server or CRM name changed. Click Update key.
You have 10 of 10 active processesArchive a process, or ask Qnect for a larger licence.
Get key failsThe server can't reach qnect-licensing.qnect.cloud: check outbound HTTPS and the proxy settings, or paste a key from Qnect.
Runs stay RunningIs the Worker service running?
Steps fail with a CRM 4xx errorThe integration user lacks rights, or a field value isn't valid for CRM. The step shows CRM's message.
PDFs have an evaluation noticeSet Documents:SyncfusionLicenseKey.
Emails aren't sentEmail:Sender isn't Graph, or the Microsoft 365 connection fails Test sign-in.
Run process button missing on a recordMetadata not refreshed after installing the component, or the entity wasn't ticked.
An add-on shows Not loadedThe reason is next to it, for example an add-on it needs isn't installed, or the file was changed. Install it again from the Marketplace.
The Qnect BPM engine refused the sign-on (HTTP 500) after a server restartThe engine started before SQL Server was ready and gave up after 100 seconds. Recycle the QnectBpm app pool in IIS Manager.

Setting up Sage CRM by hand

The Qnect BPM component does all of this; use these steps only where Component Manager can't be used. Refresh metadata afterwards.

Administration menu. Administration → Advanced Customisation → System Menus, open Admin, Add (not Update) an entry: Caption Qnect BPM, Action customfile, Custom file QnectBpm/DesignerTab.asp. Save.

Table-level scripts. For each entity with record-saved processes, copy C:\QnectBpm\crm\TableScripts\QnectBpmTrigger.js and replace __ENGINE_URL__ (http://localhost/spd), __SHARED_SECRET__, __ENTITY__ (for example Company), __KEY_COLUMN__ (for example comp_companyid) and __WATCH_FIELDS__ (for example comp_type,comp_status). Then Administration → Customisation → entity → TableScripts → New, name it "Qnect BPM" and paste it. The script never delays or blocks a user's save, even if the engine is down.

Process Log tab. Administration → Customisation → entity → Tabs: add Caption Process Log, Action customfile, Custom file QnectBpm/ProcessLog.asp.

Run process button. Administration → Advanced Customisation → Button Groups → New: name it (for example "Qnect BPM Quote") and choose the summary screen's system action: quotesummary, opportunitysummary, companysummary, personsummary or casesummary. Customise the group and add a button: Caption Run process, Action customfile, Custom file QnectBpm/RunProcess.asp.