Package: blockr.process 0.2.1.9001

Christoph Sax

blockr.process: Process Orchestration Blocks for blockr

The organization as a data frame: process definitions, instances, and tasks live in one wide table that flows through a blockr board, in BPMN vocabulary throughout (process, task, lane, multi-instance, collection, element, assignee). A process block emits the table, task blocks write an append-only event log, a headless worker runs the tasks that are scripts, a file inbox lets other systems move a process forward, and a BPMN block renders the table as a standards-conform process diagram with live status painted on. The package is two layers in one namespace: the engine (table semantics, event store, worker, inbox) is pure R with no UI dependency, the blocks sit on top, and a test enforces the direction -- see 'dev/architecture.md'. The BPMN half (model, interchange XML, auto-layout, widget) lives in the 'bpmn-*.R' files and depends on nothing else here, so either layer can be lifted out into a package of its own once the process model stops moving.

Authors:Christoph Sax [aut, cre]

blockr.process_0.2.1.9001.tar.gz
blockr.process_0.2.1.9001.zip(r-4.7-any)blockr.process_0.2.1.9001.zip(r-4.6-any)blockr.process_0.2.1.9001.zip(r-4.5-any)
blockr.process_0.2.1.9001.tgz(r-4.6-any)blockr.process_0.2.1.9001.tgz(r-4.5-any)
blockr.process_0.2.1.9001.tar.gz(r-4.7-any)blockr.process_0.2.1.9001.tar.gz(r-4.6-any)
blockr.process_0.2.1.9001.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
blockr.process/json (API)

# Install 'blockr.process' in R:
install.packages('blockr.process', repos = c('https://cynkra.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cynkra/blockr.process/issues

Pkgdown/docs site:https://cynkra.github.io

On CRAN:

Conda:

3.48 score 68 exports 61 dependencies

Last updated from:89092ba973. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK160
source / vignettesOK219
linux-releaseOK139
macos-releaseOK153
macos-oldrelOK115
windows-develOK120
windows-releaseOK132
windows-oldrelOK121
wasm-releaseOK152

Exports:apply_assignmentsapply_eventsapply_events_instanceas_bpmnbpmnbpmn_to_tablebpmn_widgetbpmn_xmlbpmnWidgetOutputcode_versiondemo_collection_processdemo_collectionsdemo_deliveriesdemo_peopledemo_reporting_unitsdemo_worker_startexample_assignmentsexample_processexample_quarterlyexample_tasksexpand_instanceinbox_diringest_inboxinstance_collectioninstance_countsinstance_definitioninstance_eventinstance_eventsinstance_latestinstance_loginstance_stateinstance_statusinstance_tableinstance_viewinstance_waitinglayout_bpmnmulti_tasksnew_assign_blocknew_bpmn_blocknew_demo_delivery_blocknew_demo_start_blocknew_event_log_blocknew_process_blocknew_runstate_blocknew_start_instance_blocknew_tasks_blockprocess_actprocess_bodyprocess_collectionprocess_complete_whenprocess_gate_statusprocess_groupsprocess_interpretersprocess_quorumprocess_scopesprocess_sequentialprocess_statusprocess_tasksprocess_versionread_bpmnrearm_loopsrenderBpmnWidgetrun_workerstart_instancetasks_to_tableworker_alivewrite_bpmnwrite_inbox_message

Dependencies:base64encblockr.coreblockr.dplyrblockr.outlinebsiconsbslibcachemclicommonmarkcpp11digestdplyrevaluatefastmapfontawesomefsgenericsgluehighrhtmltoolshtmlwidgetshttpuvjquerylibjsonliteknitrlaterlifecyclemagrittrmemoisemimeotelpillarpkgconfigpromisespurrrR6rappdirsRcppreactivesrlangrmarkdownsassshinyshinyAceshinyFilesshinyjssourcetoolsstringistringrtibbletidyrtidyselecttinytextypedjsonutf8vctrswithrxfunxml2xtableyaml

Running scripts
The shape | A first process | What a script receives | A script that answers a question | Once per element | When things go wrong | The jobs directory is a jail | Calling a function instead of a file | Other languages | Which code ran | Deploying the worker

Last update: 2026-08-12
Started: 2026-08-12

Talking to other systems
The inbox | End to end | Resending is free | Three outcomes | Sending from somewhere else | When the sender cannot reach the filesystem | Assignments, not just completions | What is not here yet

Last update: 2026-08-12
Started: 2026-08-12

Readme and manuals

Help Manual

Help pageTopics
Overlay an instance's events onto a process definitionapply_events
Convert a wide process table to a tidy BPMN modelas_bpmn
Create a tidy BPMN modelbpmn
Convert a tidy BPMN model to a wide process-table scaffoldbpmn_to_table
Render a tidy BPMN model as an interactive diagrambpmn_widget
Shiny bindings for bpmn_widgetbpmnWidgetOutput bpmn_widget-shiny renderBpmnWidget
Generate BPMN 2.0 XML from a tidy BPMN modelbpmn_xml
Which version of the code rancode_version
Example: a quarterly data collection as a wide process tableexample_process
Expand a definition into the instance-shaped tableexpand_instance
The inbox directory of a storeinbox_dir
Ingest the inbox: turn waiting messages into eventsingest_inbox
The element list an instance was opened withinstance_collection
The definition an instance was opened withinstance_definition
Append one event to an instance storeinstance_event
Read an instance store's eventsinstance_events
The newest instance in a storeinstance_latest
An instance's events, newest firstinstance_log
Status of every row of an expanded instanceinstance_status
An instance's expanded table, rebuilt from the store aloneinstance_table
An instance as people should see itinstance_view
Add auto-computed diagram layout to a BPMN modellayout_bpmn
Instance block (JS-driven)new_assign_block
BPMN blocknew_bpmn_block
Instance log blocknew_event_log_block
Process block (JS-driven editor)new_process_block
Instance state blocknew_runstate_block
Open-instance blocknew_start_instance_block
Tasks blocknew_tasks_block
A person acts on a taskprocess_act
Multi-instance groups of a wide process tableprocess_body process_collection process_complete_when process_groups process_scopes process_sequential
How a script file is executed, by extensionprocess_interpreters
Computed display status for every task of a wide process tableprocess_status
Per-task metadata for a wide process tableprocess_tasks
Short content hash of a process definitionprocess_version
Read a BPMN 2.0 XML file into a tidy BPMN modelread_bpmn
Run a process until it needs a person (or finishes)run_worker
Open an instance: stamp definition and elements into the storestart_instance
Is a worker running on this store?worker_alive
Write a tidy BPMN model to a .bpmn filewrite_bpmn
Write one inbox messagewrite_inbox_message