About bitrix-bizproc
A Bitrix skill for implementing and operating business processes across documents and activities. It emphasizes lifecycle rules, access checks, runtime operations, and safe custom activity development.
Key features
- 01Starting and stopping processes
- 02Document IDs and type invariants
- 03Access checks for operations
- 04Custom activities and triggers
- 05Runtime troubleshooting guidance
Use cases
- 01Implementing document approval flows
- 02Adding custom business-process activities
- 03Diagnosing stalled process runs
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ bxmaximum/ bitrix-framework-skills --skill bitrix-bizprocAfter installing, type/bitrix-bizprocin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
rules/custom-activities.mdruntime-ops.mdstart-stop.mdtemplates-access.mdtriggers.mdDetails
From the project READMEBusiness processes (bizproc)
Baseline: main 23.0+ · Verified: bizproc 26.1400.0, bizprocdesigner 26.800.0, main 26.800.0
Runtime, documents and activities are in bizproc; the template designer UI is bizprocdesigner (needs feature BizProc). Load bizproc and the document owner module (crm, lists, …).
| Task | Read |
|---|---|
Start, terminate, kill, external events, document ids, Starter | rules/start-stop.md |
Custom activity: folder, .description.php, class, reserved names, waiting for events | rules/custom-activities.md |
| Custom triggers for the Nodes designer | rules/triggers.md |
| Template rights, designer controllers, import, template service | rules/templates-access.md |
| Stuck pauses, fault limit, tracking, storage cleanup, agents vs Messenger | rules/runtime-ops.md |
Invariants
- A document id is
[moduleId, entity, documentId], a type[moduleId, entity, documentType]. Copy triples from the owner module or an existing template; never invent them. CBPDocumentmethods report through$errors(by reference), not exceptions: check it after every call.- Check rights before a manual start and in every custom controller (
CBPDocument::canUserOperateDocument()/canUserOperateDocumentType()). - Approvals and document state machines → bizproc. Periodic sync and heavy I/O → agents or Messenger (
bitrix-background-jobs), never insideexecute(). - Custom activity classes and helpers are vendor-prefixed and never reuse
CBPActivitymember names.
Comments
Markdown supported