Workflow Administration Portal

Central workflow administration dashboard showing task ownership, status monitoring, recovery and reassignment controls
← Selected Projects
Industry
Enterprise Workflow Operations · Reference Design
My role
Solution design and administration portal reference implementation
Outcome
Demonstrates central visibility, authorised administration and traceable recovery.

Project highlights

  • Central application, instance and task visibility
  • Authorised reassignment and state-aware recovery
  • Bulk results, alert navigation and command audit

A reference design for central workflow visibility, authorised administration and controlled recovery across IBM BPM / BAW applications.

Project overview

A workflow estate becomes harder to support as applications, teams and environments multiply. Operators need to find the right instance, understand who owns the current task and decide whether a permitted intervention will help. Switching between application screens and administration tools makes that context harder to retain.

This reference project brings those activities into a custom workflow administration portal backed by supported IBM BPM/BAW APIs. The portal combines an application catalogue, instance and task inspection, controlled reassignment, recovery work and a record of administrative commands. Its purpose is consistent operations across registered workflows, with access appropriate to each operator.

Project scope: the 100-application view and all interface records are synthetic design examples. They are not a claim of an implemented 100-application deployment. The API-supported capabilities below are distinguished from proposed portal controls, and no client identity, production screenshot or measured saving is asserted.

First principles: visibility, authority and evidence

Principle What it means in the portal
Resources are different A process instance, human task and Event Manager task require different actions and APIs.
Access follows the application and environment Seeing one application does not grant control of the whole runtime.
The current state matters A command valid at preview may be invalid when submitted.
An action must have an accountable actor Retain the operator, reason, target, authorisation decision and outcome.
Acceptance is not verified completion A request can be accepted, denied, applied or left with an unknown outcome.
A custom portal has an explicit boundary Workflow operations do not replace server configuration, deployment and infrastructure diagnosis.

The design aims for broad operational coverage through a clear capability catalogue. It does not promise unrestricted control of every object or every administration function. Each runtime adapter exposes only operations that are supported and authorised for its configured API family and release.

Managing a large application estate

Synthetic fleet dashboard showing a 100-application catalogue and explicit availability status.
Synthetic fleet dashboard showing a 100-application catalogue and explicit availability status.

Register each managed application with its owner, environment, runtime connection, process/snapshot context and enabled capabilities. Treat “registered” separately from “reachable” and “visible to this operator”. A connection failure must appear as unavailable or stale rather than as zero failed instances.

The dashboard should help an operator narrow the estate by application, environment, state and business reference. Load summaries first and fetch detailed variables only when required. Use the installed runtime’s supported search and detail APIs with server-side access controls. A list returned for one authenticated runtime user is not automatically a complete inventory of every application.

For 100 registered applications, avoid requesting full instance data from every application on each page refresh. Use bounded queries, pagination, controlled concurrency and short-lived summary caching. Show the update time and connection errors. Counts from this reference UI are illustrative; real fleet scale requires load and permission tests.

Solution architecture

Reference architecture separating the portal, policy backend, command records and runtime adapters.
Reference architecture separating the portal, policy backend, command records and runtime adapters.

The browser presents the operations workspace. A backend for the portal resolves the signed-in operator, checks application and environment scope, selects an allowlisted runtime adapter and validates each command. Runtime credentials and endpoint configuration stay on the server. The browser must not submit an arbitrary backend URL or privileged runtime identity.

Where the supported deployment permits it, propagate the operator’s identity to the runtime. If a technical identity is required, the portal backend becomes an additional authorisation boundary: it must enforce the operator’s narrower rights, record the human actor and protect that identity. A hidden button is not sufficient enforcement.

Keep an application-owned registry and command/audit store. Do not modify IBM-managed schemas or use their internal tables as an administrative write API. The portal should preserve a safe link to native tools for work outside its registered capabilities.

An accurate action catalogue

Separate task, process and scheduled-work operations instead of one universal administrator action.
Separate task, process and scheduled-work operations instead of one universal administrator action.
Operator goal Resource and supported path Portal interpretation
Find current work Task or process detail APIs Authorised status, ownership and selected data.
Assign work to another user BPD task assignment API Validate target user, current task state and operator rights.
Assign work to team/group BPD task assignment API Resolve snapshot-compatible teams; validate group semantics.
Suspend or resume a workflow BPD process instance action Pause/resume eligible process execution, not a generic task suspension.
Retry failed execution BPD process retry action Inspect cause and external effects before the supported retry.
Terminate a process BPD process termination action Validate state, dependencies and an approved reason.
Inspect on-hold scheduled work Operations API / supported tools Separate platform queue recovery from application task handling.
Redirect a workflow Application-defined routing or advanced repair A named, constrained capability; not an arbitrary jump button.

IBM documents user/group/team reassignment for BPD tasks and process actions for eligible instances. The BPEL/HTM task resource has different operations, including its own suspension/termination semantics. Do not copy those task actions onto the BPD task API. [1] [2] [3]

Delegation should be defined explicitly. It may mean a governed temporary assignment, a task reassignment or an application’s substitution policy. It is not interchangeable with collaboration or an unrestricted “act as any user” capability. Restarting a whole request and retrying failed execution must also remain separate operations.

Roles and delegated operational access

Portal role — proposed Typical permitted scope Additional gate
Observer Read authorised summaries and details No mutation capability.
Application operator Assigned apps/environments; task ownership changes Current resource and target validation.
Recovery operator Selected failed-work inspection and retry Cause/effect review and incident reference.
Destructive-action approver Review a prepared termination request Independent actor; exact target binding.
Platform specialist Native tooling and registered platform operations Separate platform authority; not inherited by all portal users.

These are portal roles to design, not a list of built-in IBM groups. Map them to an organisation’s identity and access model, and verify the runtime’s own roles and action policies. Preserve both checks; do not assume that the ability to read a task establishes permission to reassign it.

Re-evaluate permission on the server at execution and when retrieving command results. A saved browser selection, email link or command ID must not become a substitute for current scope. Bulk actions need the same per-resource checks as individual actions.

The instance and task workbench

Synthetic instance workbench combining failure evidence, task ownership and a prepared action.
Synthetic instance workbench combining failure evidence, task ownership and a prepared action.

A useful workbench puts operational context before buttons: application and environment, current instance state, current task owner/team, snapshot context, error summary and the latest refresh time. Show only the necessary business data, with sensitive fields protected by role.

The operator selects a named action and enters a reason or incident reference. Before dispatch, the backend refreshes the resource, checks that the intended target still matches and evaluates whether the action remains available. The UI then distinguishes a verified result from a pending or uncertain command.

An application-level revision or fingerprint can help detect a stale preview. It is not a claim that the IBM API provides a universal ETag or compare-and-swap operation. The adapter still needs a documented concurrency strategy, runtime validation and read-back verification.

Command lifecycle and audit

Reference command lifecycle from inspection through verification and audit.
Reference command lifecycle from inspection through verification and audit.

Give each portal command its own identity. Bind it to the requesting actor, application, environment, resource kind/ID, action, parameters, expected state and reason. Store the prepared intent before dispatch; for higher-risk actions, obtain the required independent approval against that exact intent.

At execution, reject unauthorised or stale commands, call the allowlisted API and capture the outcome. Read back the relevant state where appropriate. If the runtime response is lost, mark the command outcome unknown and investigate rather than automatically repeating a destructive or non-idempotent action.

Command deduplication inside the portal protects repeated clicks and repeated submissions only within the actual persistence/dispatch design. It does not make an IBM mutation transactionally atomic with the portal database. Recovery must account for a crash between runtime success and local result persistence.

Record who requested, who approved where applicable, what changed, when, why and the target/result references. Keep audit retention and integrity controls appropriate to the organisation; the local demo audit is an explanatory data structure, not an immutable compliance archive.

API examples and request envelopes

The following examples distinguish IBM resource requests from the portal’s own command envelope. Runtime authentication, CSRF requirements, base paths and permissions must be configured for the actual installation. The request examples are documentation; none is executed by the website or this ZIP.

GET /rest/bpm/wle/v1/task/71001?parts=all
GET /rest/bpm/wle/v1/process/1042?parts=all&taskLimit=20&taskOffset=0

These classic BPD resources are documented in the BAW 24.0.x resource and authorisation references. Limit the data retrieved to the operator’s need. [1] [4]

PUT /rest/bpm/wle/v1/task/71001?action=assign&toTeam=RegionalSupport&parts=all

The team-assignment example follows the documented BAW 20.0.0.2-and-later approach. The team must match the task’s snapshot context. User assignment syntax is separately documented in the BAW 25.0.x assignment reference; do not assume identical contracts for older BPM releases. [5] [6]

PUT /rest/bpm/wle/v1/process/1042?action=suspend&parts=all
PUT /rest/bpm/wle/v1/process/1042?action=resume&parts=all
PUT /rest/bpm/wle/v1/process/1042?action=retry&parts=all

Each line represents a separate eligible action, not a script to run in sequence. The resource must be in the appropriate current state, and the runtime must authorise the caller. Retrying failed work is not a general “re-run any service” API. [2]

POST /portal-api/commands
Content-Type: application/json

{
  "commandId": "SYN-CMD-008",
  "environmentId": "DEMO-PROD",
  "applicationId": "APP-001",
  "resource": {"kind": "task", "id": "SYN-T71"},
  "action": "REASSIGN_TO_TEAM",
  "parameters": {"team": "RegionalSupport"},
  "expectedRevision": 4,
  "reason": "Approved support coverage change"
}

This JSON is a proposed portal-owned API, not an IBM request body. Resolve actor identity from the authenticated server session, not a client-supplied user field. Translate only allowed operations to the runtime adapter. The package includes separate schemas, request files and a normalised result example.

API families, identity and release compatibility

Family Example role Integration boundary
Classic BPD / BPMN resources Task/instance inspection and selected actions /rest/bpm/wle/v1 — verify exact installed methods.
Process REST APIs Alternative supported process/task surfaces Use installed OpenAPI; do not mix payloads with classic APIs.
Operations REST APIs On-hold work and registered platform operations /ops — separate authority, CSRF and capabilities.
BPEL / HTM resources BPEL processes and human tasks Different resource model and action contracts.

The documentation set in this pack spans labelled BAW 24.0.x, 25.0.x and 26.0.x references. That is not a declaration that every example is portable across all of them. Keep a per-connection compatibility matrix, validate the installed API specification and test each enabled capability before registering it.

IBM documents BPMCSRFToken requirements for Operations APIs and for the Process REST API family. Classic API session/CSRF behaviour must be checked against its own installed configuration; do not transplant a token-login example between families. The backend should handle its supported authentication flow without exposing privileged credentials to the browser. [7] [8]

Use the installed REST test tool or API explorer in a non-production environment to verify parameters, response shapes and denial cases. The exact context root depends on deployment. The HTTP examples intentionally omit guessed raw IBM response bodies. [9]

Failure detection, email links and recovery

Error alert leads to authenticated inspection and an explicitly authorised recovery action.
Error alert leads to authenticated inspection and an explicitly authorised recovery action.

Correlate an error to its runtime, environment, application and resource. Produce an alert for the responsible support audience, with a concise safe summary and a portal link. Repeated observations of the same error should update an incident or alert record rather than flooding mailboxes.

The link opens a read-only workbench after authentication. It must not contain credentials or execute a retry through a GET request. The backend validates the referenced resource and the operator’s access before returning details. If the incident is stale or the resource has already recovered, show that current evidence.

Before retry, resolve the underlying problem and assess whether earlier external work may have completed. A retry can repeat integration calls. If platform scheduled work is on hold, use the supported, separately authorised recovery path. Listing on-hold tasks is documented under the Operations API; this is not the same object as a human task. [7]

Record whether the command was accepted, applied and verified, failed or remained unknown. Use measured detection/notification coverage rather than claiming that every runtime failure sends an email automatically. The organisation must configure the collector, integration and alert policy.

Bulk administration with partial outcomes

Synthetic bulk result view retaining per-item applied, conflict and unknown outcomes.
Synthetic bulk result view retaining per-item applied, conflict and unknown outcomes.

A bulk command is a collection of individual decisions. Preview the selected resources, enforce a batch limit and recheck each item when processing begins. One stale task should produce a clear conflict for that item, not a false success for the whole batch.

Track per-resource command identities, results and retry eligibility. Some targets may have changed state, become inaccessible or lost confirmation after the API call. The interface should expose partial completion and let the operator investigate uncertain items before replay.

Avoid a universal “select all applications and execute” path. Start with narrow filters and read-only export or preview, then dispatch bounded work. Batch throughput and parallelism should be validated against the runtime’s actual capacity, not inferred from the number of applications in the catalogue.

Routing repair and exceptional actions

Reassigning a task changes ownership; it does not redesign the business route. A redirect feature should call a defined application capability or a reviewed advanced repair operation with explicit business meaning. It must identify the affected instance, step, data and downstream obligations.

Variable changes, token movement, deletion, timer firing and starting new instances deserve separate registration and authorisation. They can bypass expected business checks if exposed casually. The reference portal does not provide an arbitrary script console or a generic pass-through endpoint.

Termination is a process action with consequences for outstanding work and related instances. It is not successful business completion and it does not reverse external effects. Keep dependency review, reason and any independent approval required by local policy. Use native specialist tools when a repair cannot be represented safely by the portal’s limited command set.

Operating the portal across applications

  • Keep environment selection prominent and fixed in each command; a test-session selection must not silently become production.
  • Expose connection freshness and dependency errors; do not display unavailable runtimes as healthy.
  • Paginate searches and task details, filter server-side and redact variables before returning them.
  • Cache only authorised summaries with scope-aware keys; revalidate live state before mutation.
  • Use rate limits, timeouts and controlled adapter concurrency.
  • Keep runtime hosts and supported actions in a server allowlist; reject arbitrary URL or script input.
  • Preserve per-environment identity, token and audit boundaries.

The backend should remain usable when one runtime is unavailable. Isolate that connection, return an explicit partial view and keep unaffected environments available. A central portal is an operating layer, so its own availability, observability and credential management need an ownership plan.

Reference prototype and executable policy model

The package contains an offline interactive UI with synthetic data and a separate Python policy simulator. The UI demonstrates filtering and navigation without connecting to any IBM system. The Python model demonstrates application scope, capability checks, stale revisions, duplicate command detection, independent approval for termination and partial batch outcomes.

These artefacts explain and exercise the control model. They are not an authenticated enterprise portal, a running BPM/BAW integration or proof of deployment across 100 applications. The local policy model uses in-memory synthetic resources and serial execution. It does not reproduce IBM’s internal state machine, distributed dispatch, runtime identity or concurrency guarantees.

Implementation roadmap

Capability-led rollout from read-only application registration to validated operational actions.
Capability-led rollout from read-only application registration to validated operational actions.
Phase Deliverable Evidence before expansion
Discover Application/runtime inventory and operations catalogue Owners confirm resources, authority and desired interventions.
Read-only pilot Authorised list, detail and error workbench Scope restrictions, pagination and outage behaviour verified.
Single-item controls Assignment and process recovery adapters Installed API success, denial and stale-action tests.
Governance Prepared commands, approvals and audit Actor binding and exact-intent approval checks.
Bulk and alerts Bounded batches and correlated deep links Partial results and unknown outcomes exercised.
Fleet rollout Compatibility matrix and support handover Load, resilience, security and business acceptance.

Acceptance scenarios

Scenario Expected portal behaviour
Operator tries another application Server rejects access regardless of browser controls.
Task closes after preview Refresh detects change; mutation is not blindly dispatched.
Target user is unavailable Validation/authorised runtime response prevents invalid assignment.
Team does not match snapshot Reject or resolve through the correct runtime context.
A failed instance is already active Retry is unavailable; show refreshed state.
Termination lacks independent approval Policy blocks dispatch.
Runtime response is lost Command is unknown; investigate before repeat.
One batch item fails Keep per-item results and partial status.
Email link is opened by another user Authenticate and re-evaluate scope before displaying details.
One runtime is offline Display partial/stale results without false zero counts.

The simulator covers selected portal policy decisions. Real acceptance also needs installed-runtime authorisation, state transitions, authentication/CSRF, snapshot-specific assignment, dependency effects, alert delivery and load tests.

What this project demonstrates

This reference design shows how a custom operations portal can bring workflow inspection and selected administration into a consistent workspace. The technical value is the combination of application-aware access, supported API integration, state-aware commands, recovery context and traceable results.

The aim is better operational control without losing the platform’s resource semantics or security model. Verified delivery scope and measured outcomes can be added when available; the current examples demonstrate the proposed architecture and implementation approach.

Technical references

The references identify their documented release and resource family. They support the API discussion, not a claim that the reference portal is an IBM product, client deployment or IBM-reviewed implementation.

  1. BAW 24.0.x: BPD Task Instance resource
  2. BAW 24.0.x: BPD-related resource index
  3. BAW 24.0.x: BPEL-related task resource
  4. BAW 24.0.x: process-instance REST authorisation
  5. BAW 24.0.x: reassigning to a new group/team
  6. BAW 25.0.x: task assignment method
  7. BAW 24.0.x: listing on-hold Event Manager tasks
  8. BAW 26.0.x: Process REST APIs and CSRF
  9. BAW 25.0.x: REST API test tool
  10. BAW 24.0.x: runtime user availability