Run Business Process Flow instances
bw_run_bpfCreate and manage BPC business process flow instances—start, suspend, resume, reset, finalize, archive, delete, change owners—and complete, reopen, approve, or reject activities.
Instructions
Run BPC Business Process Flows: create, start, suspend, resume, reset, finalize, archive and delete process instances, change their owner, and complete, reopen, approve or reject activities. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_run_bpf", operation: "…") gives the complete parameter definition of one.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>"
},
"name": "bw_run_bpf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Start the instance right after creating it (default false). [create_instance] | |
| member | No | Value of the driving dimension, where the activity has an instance per value. [5 of 14 operations] | |
| owners | No | Defined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [create_instance, change_instance_owner] | |
| context | No | One value per identity dimension of the template. [create_instance] | |
| activity | No | Defined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [5 of 14 operations] | |
| operation | Yes | Operation — one of: create_instance: Create a process instance of a BPF template: one context value per identity dimension, in internal format, and the owners. Requires environment, template_id, context, owners. | start_instance: Start a BPF process instance that was never started: it becomes active and its first activities open. Requires environment, instance_id. | suspend_instance: Suspend a BPF process instance that is active or waits to be finalized. Requires environment, instance_id. | resume_instance: Resume a suspended BPF process instance. Requires environment, instance_id. | reset_instance: Reset a running BPF process instance to its initial state: the first activities open again, the others are pending. Requires environment, instance_id. | finalize_instance: Finalize a BPF process instance whose activities are all completed. Requires environment, instance_id. | archive_instance: Archive a BPF process instance that is not active: it is moved to the archive and removed from the runtime tables, and the service cannot bring it back. Requires environment, instance_id. | delete_instance: Delete a BPF process instance. Requires environment, instance_id. | change_instance_owner: Change the owner of a BPF process instance. Requires environment, instance_id, owners. | set_activity_performers: Set the performers and reviewers of the activity instances of a BPF process instance: of all of them, or of the one that activity (with member) or activity_ins… Requires environment, instance_id. | complete_activity: Complete an activity instance of a BPF process instance. Requires environment. | reopen_activity: Reopen a completed activity instance of a BPF process instance. Requires environment. | approve_activity: Approve a submitted activity instance of a BPF process instance. Requires environment. | reject_activity: Reject a submitted activity instance of a BPF process instance. Requires environment. | |
| reviewers | No | Defined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [create_instance, set_activity_performers] | |
| performers | No | Defined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [create_instance, set_activity_performers] | |
| environment | No | BPC environment (e.g. "MYENV"). | |
| instance_id | No | Defined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [13 of 14 operations] | |
| template_id | No | Id of the BPF template (e.g. "TEMPLATE_ID"). [create_instance] | |
| suspend_first | No | Suspend an instance that is active or waits to be finalized before deleting it (default false). [delete_instance] | |
| reviewer_teams | No | Defined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [create_instance, set_activity_performers] | |
| performer_teams | No | Defined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [create_instance, set_activity_performers] | |
| template_version | No | Expected template version. [create_instance] | |
| activity_instance_id | No | Defined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [5 of 14 operations] |