Create and change Business Process Flow templates
bw_write_bpfCreate, edit, and activate BPC Business Process Flow templates—headers, versions, activities, workspace actions, and transport—to build and release business processes.
Instructions
Create or change a BPC Business Process Flow template: header, versions, activities, the actions in the workspace of an activity, activation, transport. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_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_write_bpf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, add_action] | |
| role | No | For open_web_application: launchpad role of the registered application. [add_action, update_action] | |
| alias | No | For open_web_application: application alias, instead of or in addition to role and instance. [add_action, update_action] | |
| query | No | For open_query: technical name of the query (e.g. "QUERY_NAME"). [add_action, update_action] | |
| action | No | The action, by its name or its ordinal number in the workspace. [update_action, remove_action, move_action] | |
| owners | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [create_template, update_template] | |
| members | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity] | |
| package | No | Package the object directory entry of the template is assigned to (e.g. "Z_PACKAGE"). [add_to_transport] | |
| activity | No | The activity, by its name or its ordinal number. [7 of 18 operations] | |
| instance | No | For open_web_application: launchpad instance of the registered application. [add_action, update_action] | |
| new_name | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [update_activity, update_action] | |
| position | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [4 of 18 operations] | |
| workbook | No | For open_workbook: technical name of the Analysis for Office workbook (e.g. "WORKBOOK_NAME"). [add_action, update_action] | |
| operation | Yes | Operation — one of: create_template: Create a BPF template as a draft: id, description, identity dimensions, process owners and options. Requires environment, template_id, description, identity_dimensions, owners. | copy_template: Copy a BPF template under a new id, as a draft, with its activities and workspaces. Requires environment, template_id, source_template_id, description. | new_version: Create the next version of a released BPF template as a draft. Requires environment, template_id. | edit: Take the draft of a BPF template into editing: locks it for the calling user and returns the draft. Requires environment, template_id. | update_template: Change the header of a BPF template draft: description, identity dimensions, process owners, options. Requires environment, template_id. | validate: Check a BPF template as the web client does before activation, and list the result with the template and its warnings about variables and parameters that are n… Requires environment, template_id. | activate: Activate (release) the draft of a BPF template. Requires environment, template_id. | unlock: Release the lock a user holds on the draft of a BPF template. Requires environment, template_id. | delete_draft: Delete the draft of a BPF template. Requires environment, template_id. | add_to_transport: Write a BPF template (R3TR BBPF, environment padded to 20 characters plus template id) to a transport request through the BW transport connection. Requires environment, template_id, transport, package. | add_activity: Add an activity to a BPF template draft and create the workspace of its performer. Requires environment, template_id, name, driving_dimension, members. | update_activity: Change an activity of a BPF template draft: name, instruction, driving dimension and members, AllowReopen, OpenCriteria. Requires environment, template_id, activity. | remove_activity: Remove an activity from a BPF template draft; the following activities move up. Requires environment, template_id, activity. | move_activity: Move an activity of a BPF template draft to another position in the order of the activities. Requires environment, template_id, activity, position. | add_action: Add an action to the workspace of an activity of a BPF template draft: open a workbook, open a query, open a registered web application, or open a URL. Requires environment, template_id, activity, action_type, name. | update_action: Change an action in the workspace of an activity of a BPF template draft: name, description, target, variable or parameter assignment. Requires environment, template_id, activity, action. | remove_action: Remove an action from the workspace of an activity of a BPF template draft. Requires environment, template_id, activity, action. | move_action: Move an action to another position among the actions of a workspace of a BPF template draft. Requires environment, template_id, activity, action, position. | |
| transport | No | Transport request number (e.g. DEVK900123). [add_to_transport] | |
| variables | No | For open_workbook and open_query: how variables are prefilled. Full definition: bw_describe(tool: "bw_write_bpf", operation: "add_action"). [add_action, update_action] | |
| human_role | No | Whose workspace of the activity: "performer" (default) or "reviewer". [4 of 18 operations] | |
| parameters | No | For open_web_application: how parameters are filled. Full definition: bw_describe(tool: "bw_write_bpf", operation: "add_action"). [add_action, update_action] | |
| properties | No | For open_url: the properties of the action as they are stored, since this type has no convenience parameters. [add_action, update_action] | |
| action_type | No | What the action does. [add_action] | |
| description | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [5 of 18 operations] | |
| environment | No | BPC environment (e.g. "MYENV"). | |
| instruction | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity] | |
| owner_teams | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [create_template, update_template] | |
| template_id | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. | |
| allow_reopen | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity] | |
| open_criteria | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity] | |
| require_review | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity] | |
| merge_variables | No | For open_workbook and open_query: merge the variables of all data sources into one group (default true). [add_action, update_action] | |
| auto_new_version | No | When the template is released and has no draft: create the next version as a draft and change that (default false, the call then stops and says so). [9 of 18 operations] | |
| pattern_activity | No | Activity whose workspace serves as the pattern, by name or ordinal. [add_activity] | |
| driving_dimension | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity] | |
| source_template_id | No | Id of the template to copy. [copy_template] | |
| identity_dimensions | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [create_template, update_template] | |
| pattern_template_id | No | Template whose activity serves as the pattern for the workspace. [add_activity] | |
| check_current_step_only | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [create_template, update_template] | |
| only_process_owner_reopen | No | Defined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [create_template, update_template] |