Start building

Service development & operations

Build your service.
Own its whole lifecycle.

An illustrated, practical handbook for Business Integration Studio. Follow one complete Orders application from its first contract to a reviewed release and operated deployment.

Version 1.327 October 2026English
Start reading
Illustration of a Cohuno integration application connecting service interfaces, data and runtime components
Design → Test → Review → Package → Configure → Deploy → Operate
18 chapters34 illustrations58 PDF pages3/3 training simulations passed

Before you begin

A complete service, with clear checkpoints.

Build a service that is understandable, testable and recoverable. The synthetic Orders exercise uses typed contracts, native mapping, a business decision, pinned subprocesses and an explicit error handler. It needs no external connector or credentials.

Work through the whole path

Save source, test expected and error paths, review version history and readiness, then understand archive signing, environment configuration, deployment and operations.

Understand the evidence

The supplied source passed static validation and all three simulation cases: 8/8 activities and 10/10 transitions covered. Simulation does not establish live connectivity or deployment readiness.

The Orders training application uses two pinned subprocesses and an explicit process-level error path.

Screens show the installed Studio in October 2026. Some illustrate separate AWS and SOAP examples; the downloadable training application is the synthetic Orders service. Controls depend on permissions, runtime configuration and signing policy.

Chapter 01 · Design & author

Know your workspace and what Save means

An integration application is a set of saved processes, reusable resources and pinned dependencies. The designer edits one process draft at a time. This handbook follows a synthetic Orders application from an HTTP request through normalization and response shaping, then tests both acceptance and a business fault.

Read the workspace before changing it

Open Business Integration Studio / Process Studio from the workspace. The designer has a persistent project tree, process tabs, a canvas and a lower work area. The lifecycle controls lead to Designer, Environment variables, Test, Release and Operate. Use Search actions, flows & activities when a narrow viewport hides a tool; search by the view name used in this guide.

Processes are grouped by start type: Request starters, Background starters, Scheduled & lifecycle, Subprocesses and Manual processes. Expand a group to reach nested folders. A folder path such as Processes/Orders/Subprocesses is organization inside the application, not a server filesystem path. Shared connections, schemas and other resources appear separately under Project resources.

Procedure

  1. Select the intended application in the project tree. Read its displayed name before opening a process.
  2. Expand Request starters or Subprocesses and then the relevant nested folder. Open a process by its name.
  3. Select More process actions → Process settings. Check Process name, Process ID, Project ID, Folder, Deadline (seconds) and Maximum executed steps.
  4. Keep the training application separate from an existing business application; use the local import procedure in the next chapter.
The process tree, lifecycle controls, process tabs and canvas in the AWS example.

Four persistence boundaries

Treat the canvas and the selected editor as separate drafts. A schema can be validated without being adopted; a mapping can be saved to the process draft without creating a saved process revision. The unsaved indicator is the cue to persist the process after applying an editor change.

Save and validation answer different questions. Saving records source. Validation checks that source against the installed catalog and graph rules. Neither action starts a listener, contacts a business endpoint, builds an executable archive or deploys it. Release and runtime activation remain explicit later steps.

ActionResultNext action
Apply contractAdopts the validated contract in the current editor or process draftSave mapping where applicable, then Save process
Save mappingApplies mappings to the current process draftSave the process
Save / Save processCreates a saved process revisionValidate and test that source
Save sourceDownloads the Application Source JSON locallyKeep the file; it is not a server-side project save

Protect work while navigating

The Studio guards navigation when the process has unsaved edits. Mapping editors also retain their own pending changes and reject an old apply if the activity or schema changed underneath them. A warning preserves the opportunity to decide; it is not a durable recovery copy.

Do not rely on refreshing the browser to recover customer schemas, mapping samples or Application Source text. These editing states are not stored in localStorage as a source backup. Save the process and download source deliberately before leaving an important editing session.

Procedure

  1. Finish or discard pending property edits before validating a schema. Enter or blur commits a schema property field.
  2. Apply the schema or mapping changes you want to keep.
  3. Use Save, or Ctrl/⌘ S when the process editor is active, and wait for the saved revision notice.
  4. Use Review before saving a substantial change, then return to the intended process and verify its revision.

Chapter 02 · Design & author

Load the complete Orders training application

The supplied application is a complete native source document, not a loose diagram or a fragment that depends on production connections. It uses the same native process model as the visual Studio. Its business data is synthetic, and its activities need no external provider credentials.

Training files and application inventory

Keep the source directory beside this handbook. orders-training.cohuno.json contains three processes and three reusable JSON Schema resources. The entry process is Orders training · HTTP intake. Its children are Orders training · Normalize order and Orders training · Shape response. All child and schema references are explicit revision 1 in the portable source.

The training flow is HTTP envelope → Normalize order → Shape response → End. Normalization trims and uppercases the customer and retains the integer quantity. Quantity below one goes to a typed quantity_invalid fault. The entry process has a separate Catch all → Log → Rethrow lane. This deliberately demonstrates a failed business case without converting it into a successful response.

FilePurpose
orders-training.cohuno.jsonComplete importable native application source
orders-simulation-input.jsonFull path/query/headers/body input for Studio simulation
orders-http-request.jsonBusiness JSON body for a later authorized HTTP request
orders-training.cases.jsonThree explicit simulation cases with output/error/call and coverage checks
bind-training-suite.pyLocal-only suite ID adaptation after an isolated import
order-body.schema.json / order-http-envelope.schema.json / order-response.schema.jsonEditable contracts matching the supplied application

Validate and create an editable training project

Use Source & agents from the current Studio view search. It belongs to the Release lifecycle group in this UI. Older screenshots or older documentation may place it under Build; the current view name is Source & agents. Loading and validating the local file does not execute its business flow.

The supplied project_id is handbook_orders_training. Pick an unused destination such as handbook_orders_training_01 when creating the editable project. Import creates new isolated identities and never patches an existing project in place. It preserves the process display names, folders and dependency relationships while remapping their IDs.

Procedure

  1. Search for Source & agents and open the view. Select Open JSON.
  2. Choose orders-training.cohuno.json. Read the application inventory and confirm the three process names and three schema resources.
  3. Click Validate application. Resolve any reported error by its code, JSON Pointer and node or edge identity; editing the text invalidates the preceding result.
  4. Review the complete source, dependency inventory and Reviewed CSP SHA-256. Confirm that this training source has no connection declarations or credentials.
  5. Enter a new, unused New project ID. Select the review acknowledgment only after that review.
  6. Click Create editable project. Wait for the created project to open; the notice states that nothing was run or deployed.
  7. Open Orders training · HTTP intake. Confirm that its Start and End are connected through the two named subprocess calls and that its failure lane is separate.
Source and agents validates the supplied Orders training source and reports three processes and three resources. No editable project has been created in this illustration.

Record actual IDs before using the supplied suite

Application import intentionally generates new process and resource IDs. Therefore main, normalize_order and shape_response in the portable source are not the IDs of the newly created Studio processes. The supplied simulation suite must use the actual imported identities before running inside Studio.

Open each of the three named processes, then More process actions → Process settings, and copy Process ID. The helper below rewrites only suite process identities, including verify entries. It reads and writes local JSON and makes no network requests. Use the same adapted file for draft Flow tests and saved-source readiness tests after saving the project.

Procedure

  1. Record the Process ID for HTTP intake as MAIN_ID, Normalize order as NORMALIZE_ID and Shape response as SHAPE_ID.
  2. From the source directory, run the helper with those three exact IDs and a new output filename. Replace every ALL_CAPS placeholder before running.
  3. Open the generated file and confirm all three cases refer to the imported main process and call verification refers to the intended imported child.
  4. Keep the original suite unchanged for offline qualification of the unimported native source.
sh
python3 bind-training-suite.py \
  --main MAIN_ID --normalize NORMALIZE_ID --shape SHAPE_ID \
  --output orders-training.imported.cases.json

Review source edits without losing an uncertain import

If an import times out, its outcome may be uncertain. An unchanged retry in the same pane reuses the original request identity; changing the source or target is a new operation. Check whether the destination project already exists before making another import attempt with different content. Source export includes saved revisions and dependencies, not unapplied canvas edits.

For reproducible authoring, download JSON Schema and Activity catalog from this installation. They describe its real activities, fields and expression forms. Do not copy invented palette names or code from another product and assume it is a native process.

Chapter 03 · Design & author

Configure the HTTP boundary and trace one order

An HTTP starter is the entry boundary of the process. The Start activity receives a typed event envelope; an outbound HTTP request activity, when explicitly added, is a separate operation that calls another service. The training entry uses only the inbound boundary and local business logic.

Inspect the supplied REST starter

Open Orders training · HTTP intake and select Start. Open Configuration in the Properties panel. The Process starter editor displays How this process starts. Select REST service only when authoring a new route; the supplied source has already selected it.

The native route is POST /services/handbook-orders, operation HandbookOrders, with response status 200 for a successful End. The route exists as source metadata at this stage. Saving the process does not make a URL on cohuno.com serve this application. An executable application must be built, trusted and deployed through the runtime workflow first.

Procedure

  1. Select Start → Configuration → Process starter. Confirm REST service.
  2. Verify HTTP method is POST and Route path is /services/handbook-orders.
  3. For a new unbound REST starter, use Create REST route before entering the method and path. The training source already contains the route.
  4. Inspect the Start contract: it describes the full envelope, including body.customer and body.quantity.
  5. Inspect the Normalize order call: Subprocess input is a native reference to /input/body.
  6. Inspect End / Return: Return value is /last and its response contract matches accepted plus order.
The Start activity REST service settings show the method, route and separate input contract. Saving does not activate a listener.

Distinguish HTTP body from simulation input

A real HTTP caller sends the business body. The runtime produces the path, query and headers envelope around it. Studio simulation starts at the process boundary, so its input supplies that entire envelope directly. Using only the business body as main process input fails the training Start contract; wrapping twice leaves the child unable to find customer.

For the happy path, body.customer is “ Ada Example ” and body.quantity is 3. Main passes just body to Normalize order. Inside that child, /input/customer is therefore the string, not /input/body/customer. This deliberate boundary change is a useful way to diagnose mappings that look plausible but read from the wrong root.

json
{
  "path": {},
  "query": {},
  "headers": {},
  "body": {"customer": "  Ada Example  ", "quantity": 3}
}

Expected result and boundary checks

The successful response is {accepted:true,order:{customer:"ADA EXAMPLE",quantity:3}}. No Lambda, database, queue or public HTTP endpoint is involved in this training result. Use the supplied flow suite to assert the exact structure rather than judging only the green completion state.

The declared Start contract checks the envelope before business activities. The normalizer then makes the separate business decision that quantity must be at least one. Quantity 0 is a schema-valid integer but an invalid order in this example, so it reaches quantity_invalid. This separation makes schema errors and business faults distinguishable.

Input or symptomExpected interpretationInspect
Only {customer,quantity} supplied to mainWrong simulation envelopeorders-simulation-input.json and Start contract
quantity is a stringContract/type failure rather than business rejectionOrder body schema
quantity is 0Typed quantity_invalid business faultQuantity branch, Catch all and Rethrow
Customer remains padded/lowercaseNormalization mapping or child pin is wrongmap_fields and subprocess revision
Route cannot be reached after SaveSource saving has not activated a serviceRelease and deployed runtime status

Other entry patterns

Use a starter on Start for queues, file polling, timers or schedules. Do not add a second receiver in the main path merely to make the diagram resemble another product. Each starter has its own envelope and acknowledgment/checkpoint semantics; changing the source kind requires revisiting the input contract and mappings.

SOAP provider generation uses a WSDL and local XSD dependencies under Resources, then an operation selection. Choosing the SOAP service label by itself does not create a correctly bound provider. Imported OpenAPI/WADL services similarly keep operation and parameter metadata tied to their reviewed contract.

Chapter 04 · Design & author

Design input, output and reusable schema contracts

A contract defines the shape at an actual boundary: process input, activity request, activity result or process response. A schema tree helps author mappings, but a declared field is not evidence that a connector was called or returned that value. Keep schema design, sample inspection and executed evidence separate.

Read the three Orders contracts

Order body schema requires customer:string and quantity:integer and rejects additional properties. HTTP order envelope schema requires path, query, headers and body; body has the same order fields. Order response schema requires accepted:boolean and order with the body shape. All three resources are pinned by the appropriate process port.

The input schema deliberately does not declare minimum:1 for quantity. That restriction is the business branch in Normalize order, so the invalid-quantity case can exercise error handling. Moving the rule into the schema changes where failure happens and changes the route coverage the suite should expect.

Procedure

  1. Open Start → Configuration → Input / output contract in the main process. Select Inspect contract to see the declared fields.
  2. Use Go to location · r1 to inspect the saved schema resource, or Browse project schemas… to choose a different reviewed revision.
  3. Open the child normalizer Start contract; verify its root has customer and quantity directly.
  4. Open Shape response End contract; verify accepted and order and the same integer quantity type.
  5. If a schema is Untyped, do not infer a complete interface from a sample alone. Define and validate the intended contract.
The Input workspace exposes the selected activity structure and declared payload. This read-only tree is separate from the contract editor.

Create or revise a JSON Schema

The shared ContractEditor offers Untyped, XML · XSD and JSON · Schema. Create JSON Schema or Visual / Source editor opens Schema Studio. Its Source, Visual, Test and Changes views operate on the draft you opened. Changes is advisory; it does not prove compatibility with every producer or consumer.

Use the standalone order-body.schema.json as an exact starting definition. In Visual view, requiredness and property types are real schema constraints. An inferred draft can accelerate discovery, but inference from one observed payload cannot establish required fields, numeric ranges or production compatibility.

Procedure

  1. At the intended boundary, choose Create JSON Schema; open Source and load or paste the provided schema definition.
  2. In Visual, select customer and quantity and review their types and requiredness. Commit property text with Enter or blur.
  3. Select Validate. Resolve the current draft’s diagnostics before proceeding.
  4. Use Test with a representative valid sample and an invalid sample such as quantity:"3". Sample tests use the exact validated draft.
  5. Use Save new resource for an independent reusable schema, or Save new revision when editing an existing pinned resource.
  6. Click Apply contract. If the schema belongs to a mapping, save that mapping; then Save the process. Read back its schema pin and new process revision.

XSD contracts and namespace roots

For XML, upload the entry XSD first and its reviewed local dependencies afterward. Choose the declared root element when the entry defines more than one global root. Root selection is a real boundary element, not a decorative label. A namespace-qualified name must match the instance XML and the XSD.

Cohuno resolves these supplied local files; it does not fetch a remote schema URL to fill a missing import. Schema Studio preserves unfamiliar namespace extensions in Source mode. Visual structure actions cover common elements, attributes, sequence/choice/all, types, restrictions and facets, but the server inspector remains the authority on legal XSD structure.

Procedure

  1. Use Upload XSD / JSON and supply the entry file followed by local imports/includes.
  2. Select Root element from discovered roots and choose Inspect contract.
  3. Review required/optional/repeated markers and namespace names before mapping.
  4. Use Attach local XSD files in Schema Studio when adding a reviewed dependency. Do not replace the entry accidentally with a dependency filename.
  5. Validate, test a representative XML instance, Apply contract and save the adopting process.

When a schema edit appears to disappear

There are several different objects to persist: schema resource revision, selected contract pin, mapping draft and process revision. Saving a new schema resource alone does not rewrite a process that still pins r1. Applying to an editor without saving the process also leaves the saved application unchanged.

If the process or contract changed while the schema editor was open, reopen and review the current source rather than forcing an old Apply. A stale schema response must not replace newer authoring work. For an incompatible change, create a new schema revision, adopt it explicitly and rerun both old and new request cases.

Chapter 05 · Design & author

Build activities and make branch behavior explicit

An activity computes a result or performs an explicitly configured operation. A transition chooses where execution continues. Diagram position has no data-dependency meaning. The supplied normalizer is intentionally small enough to inspect every path, including the failure path.

Read the normalizer step by step

Open Orders training · Normalize order. Its Start passes the body through. Quantity at least one? is a Choice / Transition activity; it preserves the last value and lets outgoing transitions decide the next step. The successful path reaches Map Fields, an Assign variables activity from the canonical native Orders example. Finish returns /last.

Map Fields evaluates its Variables object using the native mapping language. customer is upper(trim(/input/customer)); quantity is /input/quantity. Assignment also updates child-local /vars with those values and returns the assigned object. Because the child is isolated, those local variables do not silently overwrite the parent’s local variables.

Procedure

  1. Open the normalizer and select Quantity at least one?. Inspect both outgoing arrows.
  2. Select Valid quantity. Confirm Arrow type is XPath, expression number($input/quantity) >= 1 and evaluation priority 0.
  3. Select Invalid quantity. Confirm Arrow type is Otherwise and destination Reject invalid quantity.
  4. Select Map Fields → Configuration. Read Variables and verify customer and quantity use the supplied expressions.
  5. Select Reject invalid quantity. Confirm its type is Throw and Error code is quantity_invalid.
  6. Select Finish. Confirm Return value reads /last so the mapped object becomes the child result.
AWS workbook reference showing XPath condition, evaluation priority and Otherwise route. The Orders lab uses its own quantity condition in the same controls.

Add and connect an activity in a training copy

Use the activity palette or More process actions → Insert activity. Search the installed activity name, then inspect its Configuration fields. The downloaded Activity catalog supplies exact native field names for source authoring. Adding an icon to the canvas does not complete its connection, inputs, contracts or error policy.

Connect normal blue ports for business flow and the bottom pink failure handle for an Error route. Select the resulting arrow to inspect its type and destination. Check the whole outgoing set before saving; adding a condition next to an unconditional Success is ambiguous in the default single-token model.

Procedure

  1. Duplicate the training process if experimenting, then insert a Log activity between normalization and response shaping.
  2. Set Message to a constant synthetic checkpoint label; avoid logging customer payloads by default.
  3. Connect predecessor → Log → successor with Success arrows and remove the replaced direct arrow.
  4. Select each arrow and confirm Destination activity; use Test routes with a supplied context when experimenting with conditions.
  5. Validate, Save and run the relevant suite. A new activity can reduce the percentage coverage until the cases traverse it.

Default route rules you can rely on

In the default single-token model, conditions are evaluated by ascending numeric priority and the first match wins. Only one Otherwise fallback is permitted. Success is unconditional and cannot coexist with conditional/Otherwise routing from the same activity. False is a normal condition result; it does not mean Error.

The transition inspector’s Test routes preview evaluates routing only; it does not execute activities or prove downstream behavior. If no route matches and there is no fallback, the engine reports no_matching_transition. An Error arrow is a separate lane and is considered only after a failure and applicable retries.

Arrow typeMeaningTypical use
SuccessContinue unconditionally after completionLinear processing
XPathFollow when its condition is the first true condition by priorityBusiness routing
OtherwiseFollow when all conditions are falseExplicit fallback
ErrorReceive a fault after applicable retriesLocal recovery or compensation path

Keep advanced orchestration intentional

Cohuno also has inclusive DAG routing and bounded parallel activities, but that is a different scheduling mode from the training application’s single-token graph. Do not assume that drawing several Success arrows creates safe parallelism. Use the actual catalog activities, explicit concurrency/error settings and qualified tests for a parallel design.

A subprocess can be a clean boundary for an independent branch or repeated operation. It carries a contract, a saved revision and separate local variable scope, which makes behavior easier to compare and test than an unbounded collection of ad hoc arrows.

Chapter 06 · Design & author

Compose and pin subprocesses

A subprocess call names saved source, not the latest visible draft in another tab. Pinned revisions make a parent reproducible. The training parent calls Normalize order and Shape response at revision 1; changing either child should be a deliberate adoption decision in the parent.

Inspect the call boundary

Select Normalize in the HTTP intake process. Its Call subprocess Configuration selects a Process and Revision (0 = snapshot latest). The portable Application Source document uses explicit revision 1 because application-source validation rejects implicit latest references. Normal Studio source may use revision 0 to snapshot the current saved head when constructing a run/build closure; it is not a continuously changing lookup during execution.

Subprocess input in the main Normalize call is {$ref:"/input/body"}. The next call uses {$ref:"/last"}. Those mappings define the data boundary. The child receives exactly the mapped value as /input, and its End / Return supplies the call activity result. Parent mappings can then use /steps/normalize or /last.

Procedure

  1. Open HTTP intake and select its Normalize call. Check Process, Revision and Subprocess input.
  2. Use Open subprocess on the call card to inspect the exact saved revision selected by the call. If a required pin is unavailable, resolve the dependency; do not silently substitute another child.
  3. Use the parent navigation to return to the caller and inspect Shape Response in the same way.
  4. Check that Shape response receives the normalized object and wraps it as accepted plus order.
  5. After editing and saving a child, return to the parent and explicitly choose the desired saved revision. Save and test the parent.
Closeup of the first activities in the called AWS subprocess. Opening a call follows the selected saved revision; use the return path to reach its parent.

Local variables, declarations and initial values

A normal synchronous Call subprocess has isolated local variables. Its Initial isolated subprocess variables field can supply initial values deliberately. Do not use a local variable name as an implicit cross-process channel. Use the input/output contract for ordinary business data.

Global configuration is a read-only run snapshot under /globals. Shared state is an explicit, typed compare-and-set mechanism under /shared. They serve different purposes from local /vars. The training application does not require shared state; keeping its result a pure function of the request makes its tests easy to reproduce.

Dynamic calls and asynchronous calls

Allowed dynamic subprocess revisions plus Dynamic subprocess name form an allowlisted dispatch mechanism. A data value selects among declared names; it does not authorize calling an arbitrary process. Include every allowed dependency and its revision in the reviewed application source.

Run asynchronously in the durable queue changes the execution boundary. Do not turn it on simply to make an existing synchronous call faster: the parent no longer uses the same synchronous child-return behavior, and durable queue support and operations must be qualified. The training calls intentionally remain synchronous.

Checks before adopting a new child version

Compare the child’s input and response contracts, mappings, fault codes and dependencies. Retest every parent route that calls it. A saved child r2 can coexist with a parent that still intentionally calls r1. The version view and interface map help reveal that distinction.

When restoring a historical process in Versions, restoration creates a new revision rather than rewriting historical source. Parent pins still need review. Restoring the child’s contents does not by itself update all parent dependency selections or change an already deployed application.

  • Save and validate the child before selecting its new revision in the parent.
  • Check both successful output and propagated business faults.
  • Keep typed schema pins consistent with the selected child source.
  • Review the parent dependency inventory and saved-source readiness after adoption.

Chapter 07 · Design & author

Map and transform data with the native mapper

Use the native mapping language for literals, pointers, functions and structural expressions. Use XSLT mode when an activity genuinely owns a native stylesheet. These are separate representations with different editing boundaries; a picture of an XSLT diagram is not an editable replacement for its authoritative source.

Understand the training transformation

The Map Fields Variables object below is directly runnable configuration inside the supplied Assign variables activity. $fn is the native function form; it is not JavaScript syntax. The child input is the business order object. Two functions trim then uppercase customer; quantity is copied as an integer without converting it to text.

The normalizer’s explicit output_mapping returns /result, the raw assignment result. In output mapping, /result is valid. In ordinary input mapping, use /input, /vars, /steps/<activity-id> or /last as appropriate. Mapping a downstream or unrelated node’s result is not a valid way to establish execution order.

json
{
  "customer": {"$fn": {"name": "upper", "args": [
    {"$fn": {"name": "trim", "args": [{"$ref": "/input/customer"}]}}
  ]}},
  "quantity": {"$ref": "/input/quantity"}
}

Open the mapping work area and apply deliberately

Selecting a mapped activity opens the lower Mapping workspace. Input chooses the activity request or mapped input port. Output inspects and maps the raw result into the exposed response. For an activity with several ports, select the correct port before editing. A mapper’s own source can rebase its /input; the training Assign activity reads the child’s /input directly.

The source tree includes the process contract and graph-connected upstream results. Potentially absent branch results remain conditional. If no output contract exists, the view marks it dynamic rather than inventing fields. Refresh contracts after adopting a changed schema or subprocess pin, then review the current session before applying.

Procedure

  1. Select the activity and open its Input mapping. Choose the intended input port if a selector is shown.
  2. Inspect the source and target trees; confirm their roots, types and required/repeated markers.
  3. Pick a source field then a destination, or drag the source onto the destination. Review any overlap/type-change warning.
  4. Select an expression to edit its pointer, functions or conditional expression.
  5. Use Test with representative context and check the resulting payload against the target contract. A mapping preview does not invoke business connectors.
  6. Use Save mapping to apply to the current process draft, then Save the process. Repeat the flow test for the saved change.
The native mapper separates sources, destinations and the rule inspector. Save mapping applies the rules to the process draft.

Optional fields, collections and nested scope

Use Surround with If to omit an optional destination field when false. Null is a real value and is not omission. A schema-required field cannot be made absent through this action; use Choose to supply a value for each branch. Choose evaluates conditions in order and lazily evaluates only the selected value.

Use For Each / native $map for array transformations. /item is the current item and aliases preserve explicit nested scope. Add Grouping within a suitable object-valued collection scope uses $groupBy and yields an object of arrays; it does not create an implicit current-group variable or deduplicate items. Wrapping an array in another For Each can add an unwanted array level, so test the target shape.

Procedure

  1. Right-click a destination element, use its ellipsis button, or press Shift+F10.
  2. Choose the supported structural action: Surround with For Each, Add Grouping, Surround with If or Surround with Choose.
  3. Set an actual array-producing source and a unique alias for a repeated scope. Use explicit parent aliases such as /locals/order/items when nested.
  4. Review requiredness and each Otherwise value, then test empty, one-item and multi-item inputs.
  5. Use Undo mapping change or Redo mapping change if the emitted shape is wrong; mapping history is separate from process history.

Missing data and reserved operator names

Use $get with an explicit default for optional source data rather than assuming every branch has executed. In a field rule, Fail on missing source controls whether a missing required mapping is an error. A false Apply only when true guard omits that rule’s target; it does not manufacture a default.

Objects containing reserved expression names need $literal when they are intended as data. Similarly, a text value that looks like a global token is not a general native mapping evaluator. Native process configuration refers to globals using {$ref:"/globals/name"}; shared-connection token interpolation is a different field dialect.

Native XSLT and transformation boundaries

For a data.mapper in native XSLT mode, open its mapping workspace and use Paste or import XSLT where appropriate. Retain its full stylesheet, namespaces, imports and extension identity. The stylesheet text stays authoritative. The lexical XSLT diagram is an inspection aid; it must not be reverse-compiled into guessed field rules.

XPath 1.0 uses the existing local XML worker. XPath/XSLT 2.0 and later require the configured standards host, and a working preview on one installation is not proof that a different runtime has the same engine. Test a representative XML payload, namespace-sensitive paths, empty collections and extension-dependent cases on the intended runtime.

AI-assisted mapping proposals are drafts for review. Review exact generated rules and context, apply only intended changes, then run native mapping tests and whole-flow assertions. A proposal or a green schema tree is not proof of a correct customer transformation.

  • Keep source-preserving XSLT editing separate from declarative rules.
  • Do not silently replace unsupported imports/extensions with pass-through behavior.
  • Review version/namespace mismatches when output is empty.
  • Preserve unapplied edits or explicitly discard them before switching a mapping mode.

Chapter 08 · Design & author

Use shared connections and visible global bindings

The Orders core lab has no external connection, so its business results remain reproducible offline. This companion exercise explains how to add an approved provider declaration without treating a saved connection or variable preview as proof of network access. Use an isolated training project and harmless defaults.

Connection declaration versus runtime capability

A shared connection resource gives activities a logical connector identity and reviewed settings. Credentials, drivers, provider permissions, network reachability and the actual runtime binding are separate concerns. Choose the matching protocol and real service icon; a DynamoDB identity is different from Lambda even if both use AWS.

Open a saved Shared connection resource from the project tree to reach its workbench. Configuration sections include Endpoint & destinations, Security & credentials, Pooling & circuit breaker, Global variables, Schema discovery (DataSense) and Operator profile JSON. Fields vary by protocol. Do not infer a provider operation from a generic logo or from an illustrative schema.

Procedure

  1. In the project’s Shared connections group, open the intended saved resource. Confirm Resource name, Resource ID, Resource folder and Connection protocol.
  2. Inspect Endpoint & destinations and the protocol-specific allowlists. Use a test alias and approved destination, not a production ARN or public URL copied from another environment.
  3. Inspect Security & credentials for server-side references. Do not paste a password/key into a global default, screenshot, source file or mapping sample.
  4. Review Pooling & circuit breaker and payload limits appropriate to the operation.
  5. Use Save resource as rN to create an immutable connection revision. Activities still need the intended logical connector selection.
The Lambda saved configuration preview shows the resolved region and function token chips with their source profile. The preview does not test connectivity.

Bind a harmless field to a global variable

For an AWS training connection, region is a safe illustrative value. Use aws_region:string with default us-east-1. The % binding control opens the picker; Select existing or Create one chooses a typed project global. A bound field displays a visual token and resolved preview such as %%aws_region%% → us-east-1 (Application defaults).

The token is stored as the binding; the displayed resolved value is a preview of the selected saved configuration. Choosing a saved environment profile previews its overrides without changing running deployments. The same field can show an unresolved or ambiguous binding when the declarations do not establish one unambiguous value.

Procedure

  1. Find AWS region on a compatible shared connection and use its % binding control.
  2. Choose a saved aws_region variable, or create it with Type string and Default value us-east-1. Add a description such as Training AWS region.
  3. Use Bind %%aws_region%% or Create & bind. Read the resulting chip and the selected environment label.
  4. Open Global variables to inspect the resource table, usage paths and declaration source. Save global variables if you edited the table.
  5. Save the connection resource to retain its field binding. Check Release readiness for unresolved saved connection variable references.

Understand scopes and token dialects

Connection fields support %%name%% and the offered ${/globals/name} syntax. Native process mappings use an explicit object reference such as {$ref:"/globals/aws_region"}. Arbitrary native literal strings and $literal contents are not evaluated as tokens. Do not replace JSON pointers with percent strings in an activity and expect the same result.

Process Environment variables has Global configuration (/globals), Shared state (/shared) and run variables (/vars). A project Variables resource can be attached as a reusable set; its saved pin and the process adoption remain explicit. Global configuration is a read-only snapshot; shared state is compare-and-set; local run variables are mutable within that process run. Application defaults shown in a connection workbench can come from saved Variables resources and process declarations.

NeedUseCheck
Region, timeout or nonsecret configurationTyped globals /globalsSaved declaration and selected environment profile
Customer data for one requestProcess input and local /varsInput/output contract and trace
Explicit coordinated application stateTyped /shared operationsCompare-and-set semantics and supported runtime scope
Connection field interpolation%%name%% or offered ${/globals/name}Resolved, ambiguous or unresolved chip
Native activity expression{$ref:"/globals/name"}Actual native mapping context

Troubleshoot without exposing secrets

If a chip has no value, inspect the name, declaration source, type and selected environment profile. A numeric field only accepts a compatible finite numeric variable. An empty string, false, 0 or null must not be silently replaced with a default simply because it is false-like. Resolve ambiguity rather than selecting the first duplicate declaration arbitrarily.

Sensitive-looking values and descriptions are hidden in these previews, but heuristic masking is not permission to store secrets here. Use the operator’s approved server-side secret references and keep sample data nonsensitive. Schema discovery templates describe an illustrative contract until separately verified with the provider’s actual shape.

Chapter 09 · Design & author

Design recovery, retries and bounded repetition

Recovery changes executable behavior only when actual fault-handling activities and routes are present. A modern Global error handler band is a visual organization aid; an empty band does not install logging, retries or compensation. The Orders training source includes real Catch all, Log and Rethrow activities so its fault path can be tested.

Follow the training failure path

Send quantity:0 through the main process using the supplied invalid-quantity simulation case. The normalizer’s Otherwise reaches Throw with code quantity_invalid. That child fault propagates from the Call subprocess activity in the parent. With no explicit Error route on that call, the parent’s implicit Catch all receives it.

Catch all returns a structured fault with code, retryable status, origin and a bounded propagation chain. Log writes the configured bounded trace event. Rethrow preserves the active fault and propagates failure to the caller. The expected run status is failed with quantity_invalid, while the suite case itself passes because that is exactly what it asserts.

Procedure

  1. Open HTTP intake and find the separated Global error handler lane.
  2. Select Catch order failure → Recovery. Confirm one implicit Catch all and no normal incoming arrow.
  3. Select Log order failure. Confirm the constant synthetic Message and ERROR level.
  4. Select Return failure to caller. Confirm Rethrow is preserving the active fault, not returning accepted:true.
  5. Run the invalid-quantity case and inspect the fault route and call-verification result. Map Fields must not execute; Log order failure must execute once.
The AWS orchestrator explicitly connects Catch all to Log and Rethrow. The surrounding lane adds no executable behavior.

Local Error arrows and process Catch all

An explicit Error arrow takes precedence over the process Catch all after the failing activity’s applicable retries. Use the bottom pink handle or select an arrow and choose Error. The handler maps from /error or $error. One implicit Catch all per process is supported; it needs no normal incoming transition.

An error inside the Catch all handler is not recaught by that same handler. Rethrow does not re-enter the same process’s implicit Catch all. Cancellation, deadlines, step limits and other fatal execution/control failures bypass ordinary business recovery. A handler is therefore neither an all-purpose exception suppressor nor a mechanism to defeat operational limits.

Procedure

  1. On a training copy, select a failing activity and its Recovery tab to see Retry → Error arrow → Catch all propagation.
  2. Choose an existing Error arrow to inspect its destination, or connect the pink port to a real handler activity.
  3. Use /error/code for JSON mapping or $error/code in XPath as the context requires. Do not invent a general last exception string.
  4. Decide whether the handler returns an intentional business response or propagates the failure with Rethrow. Test both the caller-visible result and the handler route.

Configure retries only where repetition is safe

Activity Recovery exposes Maximum attempts, Initial backoff (ms) and the duplicate-effect safety acknowledgment. Attempts are bounded to 1–5 in this editor. Retry applies only to retryable failures during the activity phase. An input/output mapping or transition error does not repeat a completed connector operation.

The engine uses exponential backoff bounded by its normal delay policy and respects a server Retry-After. It does not shorten that delay to squeeze another attempt inside the remaining deadline. Throw, Catch all, Rethrow and Checkpoint are control operations and are not ordinary automatically retried business calls.

Retrying an HTTP write, publish or database effect can duplicate an effect already committed remotely. An Error route does not roll back an acknowledged message, committed offset or completed HTTP request. Supply idempotency/deduplication or an explicitly designed compensation step before enabling retry of an effect.

Procedure

  1. Select the activity → Recovery. Keep Maximum attempts at 1 until you have classified its possible failures.
  2. Set a bounded attempt count and backoff only for a known retryable operation.
  3. Select the safety acknowledgment only after verifying duplicate behavior with an appropriate idempotency design.
  4. Test a transient retryable failure and a nonretryable failure separately, including the exhausted route and propagated error.
  5. Confirm the whole run deadline and step budget remain adequate; do not hide an unbounded retry loop inside a subprocess.

Starter retries are a different boundary

Continuous starters have their own Failure policy & replay controls. On business failure, Pause for review is the default alternative to bounded retry. Retry after a whole failed event can repeat all downstream writes, so the starter asks for acknowledgment that writes are idempotent or duplicate effects are acceptable.

Acknowledge / commit may be After successful End + validation or an explicit confirmation activity for the supported message source. An early explicit confirmation can remove redelivery protection even if later processing fails. The original event receipt must be mapped correctly; receipt handling is not equivalent to a database transaction.

Choose the correct loop and bound it

For each / subprocess runs the selected saved subprocess sequentially for an array. Each child receives {item,index}; it does not implicitly fan out in parallel. The configured Maximum items bounds the array. Use a collection mapping $map when transforming data, rather than a process loop, if no child operation is required.

While / subprocess tests the initial state before the body. Repeat Until / subprocess executes the body at least once and then tests the returned state. The body’s return becomes the next iteration’s /input. Both share the parent’s deadline and step budget. An unfinished loop at Iteration cap fails with loop_iteration_limit; it does not return partial success.

Procedure

  1. For repeated process work, insert the actual For each / subprocess, While / subprocess or Repeat Until / subprocess activity from the installed catalog.
  2. Select the saved Record subprocess/Process and an explicit pinned revision. Declare the body’s input and result contracts.
  3. For For each, map Array and set Maximum items. In the child, read /input/item and /input/index.
  4. For state loops, map Initial state, choose XPath version, supply Continue condition or Stop condition, and set Iteration cap (1–1000).
  5. Test an empty input/initial false condition, one iteration, expected completion and a deliberately nonterminating state that hits the cap.
  6. Use the appropriate bounded parallel activity only when concurrent execution and its error policy are intended and separately tested.

Recovery completion checklist

A complete service includes its negative behavior. Decide which schema/type failures, business faults, provider failures and operational limits should reach which boundary. Keep fault codes stable enough for tests and callers, and avoid embedding customer data in exception messages or logs.

The supplied lab proves the local business route and its typed failure through simulation once the qualification report has passed. It does not prove external connector access, provider delivery guarantees, distributed transactions or production throughput. Extend the suite and perform approved runtime checks when adding those concerns.

  • Every business decision has an intentional fallback.
  • Fault handling does not accidentally turn a failed write into a success response.
  • Retry policy includes duplicate-effect reasoning and a bounded budget.
  • Rethrow preserves the original fault when propagation is required.
  • Loop completion and cap failures are asserted.
  • Saved-source validation, simulation evidence and deployed runtime evidence are recorded separately.

Chapter 10 · Test, release & operate

Test the complete service and debug its behavior

A service is ready for release when its boundaries, transformations, routes, failure behavior and dependencies have evidence. Start with simulation, add meaningful assertions, then qualify the approved connections separately. The screenshots in this handbook show the existing AWS exercise where stated; the downloadable Orders training application is a separate lab.

Run a controlled simulation

Open the intended entry process rather than a helper selected by accident. Confirm its name and saved revision in the workspace. Run simulation and Debug simulation require a saved, unchanged process: save or discard Designer edits first. Flow tests is the separate tool that can exercise the current process draft. The Test workspace retains the canvas so that the trace can be read alongside the flow.

For the practical lab, import orders-training.cohuno.json as a new project, then open Orders training · HTTP intake. The project is handbook_orders_training and its declared route is POST /services/handbook-orders. Use orders-simulation-input.json in Process input. It wraps the synthetic HTTP body in the process's path/query/headers/body envelope; orders-http-request.json contains the plain body for a separately approved HTTP invocation. Connector fixtures allow repeatable simulated responses but do not prove a remote account or provider is available.

Procedure

  1. Save or discard Designer changes, then select the intended saved entry process in the project tree and choose Test in the top lifecycle navigation. The Test & trace workspace opens.
  2. In Process input, paste a sample that matches this process's input contract. For an installed example, select a Saved example case and click Load sample to inspect its values.
  3. Expand Connector fixtures and review the Simulation fixtures JSON. Supply only fixtures expected by this process's activities.
  4. Leave Capture bounded input/output data off unless inspecting those values is appropriate. Enable it for the synthetic training run when you need to inspect data at activity boundaries. Record detailed phase timings is optional.
  5. Click Run simulation. When using an example, remember that Run sample uses the saved example case, whereas Run simulation uses the editable values in the panel.
  6. Inspect the result, activity trace and error code. Select a trace event to relate it to the canvas and inspect its output. Use Recent runs and Refresh runs to revisit a retained run.
  • Orders lab expected output: accepted is true and order is {customer: ADA EXAMPLE, quantity: 3}. The normalized customer is uppercase with surrounding spaces removed. A quantity of zero should fail with quantity_invalid and traverse its configured fault path.
  • Expected result: a completed simulation records its status and traversed activities. A failed run should identify the failing activity or error code; a successful status alone does not prove the response body is correct.
  • If the process has changed since an earlier run, use that earlier run as historical evidence. Re-run the changed process before treating its trace as current.
  • Authorize live run is a separate control. It is unavailable when the operator has not enabled live execution; configured, approved connections and a deliberate confirmation are required for real external actions.
json
{
  "path": {},
  "query": {},
  "headers": {},
  "body": {"customer": "  Ada Example  ", "quantity": 3}
}
Test keeps simulation input, debugger controls and activity data alongside the same process canvas. No new run is shown here.

Pause at the activity that matters

The simulation debugger pauses before an activity. It is useful for finding the first place where a value becomes incorrect, rather than inspecting only the final response. Its controls continue an existing simulation; they do not replay the entire process each time.

Breakpoints belong to a process and node. Conditions use bounded JSON pointers and comparison operators, not arbitrary executable code. Debug simulation initially pauses at Start, even when later breakpoints are configured. Continue or step to reach the boundary you want to inspect. A paused wait expires after five minutes in this Studio session; active stepping begins a new pause wait, and the run still has its overall deadline.

Procedure

  1. In Test, select an activity and press F9, click its breakpoint dot, or double-click the activity to toggle the breakpoint.
  2. Open Breakpoints & variables. For a conditional breakpoint, enter a context path, choose a comparison, enter a JSON value when required, and click Apply condition. For example, /vars/total with gte and 100 is meaningful only if this process declares and populates total.
  3. Click Debug simulation. Inspect the paused context with payload capture enabled for synthetic data.
  4. Use Step over · F10 to complete one activity. Use Step into · F11 to enter a subprocess and inspect its pinned graph. Use Step out to leave that frame.
  5. Use the Call stack to select the frame whose values you need. Compare input, variables, current payload and activity outputs at successive boundaries.
  6. Click Continue · F8 to resume, or Stop to end this debug session. Correct the process in Designer and start a fresh simulation to verify the correction.
Simulation and debugger controls include Step over, Step into and Step out. They operate on simulation sessions.

Turn examples into a repeatable flow suite

Open Flow tests in the lower dock or process properties. The supplied orders-training.cases.json contains three scenarios: Ada Example with quantity 3, Lin Example with quantity 1, and a zero quantity that must fail with quantity_invalid. It uses exact output assertions and call verification, with 100% activity/transition thresholds for this small lab. No external activity mocks are needed.

Studio imports isolate identities: main, normalize_order and shape_response become new ix_… process IDs. Before importing the suite, open each process by its stable display name and copy its actual Process ID from Properties → Process properties. The supplied bind-training-suite.py helper rewrites only the suite's process identities using --main, --normalize and --shape and writes the file chosen with --output. It performs local JSON work only. Alternatively, carefully update the case and verification process_id fields yourself. Node IDs must still match the supplied processes.

Flow tests runs simulation against the current draft and its permitted dependency snapshot. The Release readiness panel later runs the selected suite against saved source. Keep both checks: draft tests shorten the editing loop; saved-source tests connect evidence to the release candidate.

Assertions should cover a successful request, a rejected input, an expected connector failure and the error route. Set expected_output to the complete expected JSON result, expected_error to a specific failure code when appropriate, and verify to check expected activity call counts. Mock a leaf activity after its input mapping; do not attempt to mock Start, End, catch/rethrow or an entire scope/subprocess.

Procedure

  1. Map Orders training · HTTP intake, Orders training · Normalize order and Orders training · Shape response to their imported Process IDs, then prepare a bound suite using bind-training-suite.py or reviewed JSON edits. Keep the original suite unchanged for the offline native exercise.
  2. Choose Import suite and select that bound suite. Read Suite definition before running it; confirm that its IDs refer to this imported project.
  3. Confirm that each process_id belongs to this project and each mocked node_id exists in the selected process closure. Use different case IDs for separate scenarios.
  4. Review expected_status: simulated represents a successful simulation; failed represents an intentionally failing scenario. An expected failure still needs its expected_error checked.
  5. Click Run tests. Review every case, activity coverage, transition coverage and required thresholds.
  6. Expand Call verification and uncovered routes. Add missing negative cases rather than reducing thresholds merely to obtain a pass.
  7. Click Export suite and retain it as Tests/cases.json with the source project. Export results for the review record. After any draft edit, run again before relying on the report.
  • A zero-percent minimum is a permissive starting value, not an acceptance standard. Agree appropriate thresholds for this service.
  • Traversal coverage includes mocked activities. A traversed mock says nothing about its external provider, authentication, latency or business side effects.
  • Suite import is bounded to 1 MiB. Suites support up to 50 expanded cases and a maximum 60-second suite deadline; divide a larger regression pack into deliberate suites.
Flow tests accepts a suite with assertions, mocks, call verification and coverage thresholds. The initial editor is not a passing test result.

Chapter 11 · Test, release & operate

Review the saved release candidate

Release readiness answers a precise question: what do the selected checks say about this saved source fingerprint? It does not certify the target environment or perform a deployment. Save reviewed process and resource edits before opening this gate.

Inspect validation, variables and dependency closure

Choose Release, or open the project overview and its Readiness tab. The panel shows Native validation, Connection variables, Dependencies and Simulation tests. Not checked and Not run for this source are useful states: they show that evidence has not been obtained, rather than implying a pass.

Native validation checks the saved project. The connection-variable count concerns references in saved shared-connection settings; it is not a universal scan of arbitrary XML, prose or every external configuration source. A dependency finding identifies a reference that needs review. Open its process or resource and fix the actual declaration. Do not replace an exact historical pin with a newer revision merely to remove a warning.

Procedure

  1. Save or explicitly discard outstanding Designer, mapper and variable changes. Open the project and refresh it so the inventory reflects saved source.
  2. Choose Readiness or scroll to Release readiness in Release, then click Check saved source.
  3. Read error and warning counts separately. Expand Validation findings and use Open process or Open resource to inspect the declaration behind each finding.
  4. Review Connection variables and Unresolved dependencies. Resolve the named declaration or approved reference, save its new revision, and check the saved source again.
  5. Record the displayed Saved source fingerprint with the review evidence. If the source changes, refresh and repeat the checks for the new fingerprint.
  • Expected result: the panel has a complete inspection of the intended saved project and no unresolved blocking findings. Review warnings explicitly; zero errors does not mean zero remaining operational work.
  • Designer drafts are excluded. A result from before a save is not evidence for the new saved revision.
  • Environment bindings, remote connectivity, publisher trust and target admission remain separate release checks.
The AWS saved-source check reports zero errors, eight warnings, no unresolved variables and no unresolved dependencies. A simulation suite has not been run for that source.

Attach simulation evidence to this saved source

The panel deliberately requires an explicit suite. It does not create a trivial passing test on your behalf. Results are associated with the project, the saved source fingerprint and the selected suite. They remain in this view; export the detailed test record through the normal flow-test workflow if a durable review artifact is required.

The report says Selected simulation suite passed or failed and lists tested entry processes, their revisions, checks and coverage. One tested entrypoint does not imply that every saved process has an independently tested public boundary. Called subprocesses may be traversed by that entrypoint; other roots remain outside the selected suite.

Procedure

  1. Click Import test suite and choose the same reviewed JSON suite used during authoring.
  2. Click Run simulation tests. Wait for the result, then inspect each case and its Checks list.
  3. Compare tested entry processes with the saved process count. Add suites for any required inbound API, queue consumer, schedule or manual entry that is not covered.
  4. If the panel reports that saved source changed while tests ran, refresh and re-run. Do not copy an earlier pass onto the newer source.
  5. Retain the source fingerprint, suite identifier, revision list and human review decision together before building.

Chapter 12 · Test, release & operate

Understand versions and the application's interface map

Keep process history, application release identity, environment configuration and deployed state separate. A service may have a current saved process revision that differs from the revision packaged in its currently running release.

Use the right identity for the question

Use the archive digest to identify exact bytes and the deployment's configuration hash to identify its reviewed configuration. A friendly version such as 1.0.0 helps people communicate, but it must be recorded alongside the hashes and exact process pins. Process restoration is source recovery; deployment rollback is runtime release recovery.

IdentityWhat it describesWhat a change does
Designer draftEditable in-memory process workRequires Save to become a saved process revision
Process or resource rNAn immutable saved source revisionA subsequent save or historical restore creates a later revision
Application archive name/version + SHA-256An immutable packaged release and its pinned closureA new build creates a separate release; a version label alone is not proof of identical bytes
Environment profile rN + configuration hashReviewed limits, values, connection and secret referencesA new profile revision does not alter an existing deployment
Deployment ID + release/configuration hashesThe actual admitted release snapshot in a spaceA reviewed deployment, replacement or rollback changes this state

Compare and restore saved process revisions

Comparison reports changed paths rather than configuration values, mapping expressions, sample data or credentials. It provides a safe structural change inventory, not a full value-by-value code review. Review the actual source through the authorized editor when a changed field needs deeper analysis.

Restore copies the historical process settings, steps, mappings, variables and dependency references into a new saved revision. Older history and deployed releases remain intact. Shared resources and application defaults keep their own versions; restoring a process does not roll every related asset back to that date. The timeline is bounded to the latest 100 saved revisions.

Procedure

  1. Open project overview → Versions, choose the process, and open Version history & comparison. Release also provides Version history & comparison; the Designer's More process actions offers Revision history.
  2. Read the Saved revisions timeline and Current saved badge. With only one saved revision, save a genuine later change before expecting a comparison.
  3. Select Base and Target. Leave Include position-only changes off for a behavior-focused review, or enable it when investigating canvas layout.
  4. Click Compare rN → rM. Review Steps, Mappings, Variables, Dependencies, transitions and process settings. Use Locate in flow for a relevant surviving activity.
  5. To recover old process source, first save or discard Designer changes. Choose Restore rN on the desired historical revision and review the inline confirmation.
  6. Click Create revision rM for the proposed new revision. Refresh if another session has saved in the meantime. Re-validate and re-test the restored source before building another release.
A real SOAP service comparison of r1 and r2 identifies changed steps and dependencies without exposing configuration values.

Trace inbound and outbound declarations visually

Open project overview → Interfaces, or the Interface map in Release. Read across Inbound / triggers → Saved process → Outbound / dependencies. The map includes declared APIs, queue or schedule triggers and outbound service or subprocess references where present. AWS service icons distinguish connectors such as Lambda and DynamoDB.

This view is derived from source declarations. It is not a live topology probe and does not prove that an endpoint is currently exposed by a running deployment. An unavailable exact revision remains visibly unavailable; the map does not silently substitute a newer process. Current saved rN · pinned at build means that the declaration resolves to the current saved head for packaging, not that it is already deployed.

Procedure

  1. Search for a process, service, protocol or connection with Find a process, service or connection….
  2. Click the references to review filter and inspect each missing, invalid or unloaded dependency.
  3. Click a saved process or an available pinned process reference to open that exact source revision.
  4. Click a connection chip to inspect the shared connection workbench. Verify its logical identity and settings without assuming that inspection runs a connection test.
  5. Expand Shared connections to review declarations that may be used across processes. Refresh the project after source or resource changes before using the map for a release review.
The interface map connects saved process declarations to exact subprocess and connection references. Live availability is checked separately.

Chapter 13 · Test, release & operate

Build and verify an immutable application archive

The .car archive is the release unit. It packages selected saved entrypoints, their pinned process closure, referenced resources and runtime delivery files. Building prepares an artifact; it does not deploy a cluster or contact an OCI registry.

Compose the archive deliberately

Choose Release or Application archives in the project tree. The archive workbench presents Overview & composer, Process archive (.PAR), Shared archive (.SAR), Descriptor & K8s and Releases & verification. These views help explain the contents of the Cohuno application archive. Their names do not make the package a TIBCO EAR/PAR or establish binary compatibility with another product.

Select the service entrypoints you intend to publish. Called subprocesses and referenced contract revisions are included through the dependency closure. Review request starters, event listeners and manual entries separately so that a helper does not become an unintended public entrypoint. Unsaved revisions cannot be selected for export.

Procedure

  1. Run saved-source readiness first. In Application archives, click Review build options or Build application to open Build application archive.
  2. Select the intended saved entrypoints. Verify their process names, protocols and rN labels.
  3. Enter an Application name and an application Version such as a new 1.0.0 release label. Choose a new name/version pair when previous immutable releases already use that pair.
  4. Review Target OCI image reference, Initial replicas and Maximum replicas. These are packaging/delivery inputs, not evidence that an image has been pushed or those replicas are running.
  5. Leave Include sample inputs off unless the samples have been reviewed for private data. Ordinary credentials, database contents, run history and simulation fixtures are excluded, but authored literals and explicitly included samples still need human review.
  6. If authorized signing is available, select Sign with the approved publisher. Otherwise build unsigned for development review and use the approved offline or CI signing path before production.
  7. Click Build .car archive. Read the build result, inspect the saved release in Releases & verification, and retain its SHA-256 and pinned entrypoint list with the review record.
Build application archive selects saved entrypoints and a separate application version, with explicit publisher signing policy.

Verify integrity, publisher and admission separately

Use Search actions, flows & activities to open Signing & trust. Select the intended project, then a saved package, or choose Verify a local .car for a read-only inspection. The local verification upload is bounded to 16 MiB. Selecting a package does not import or deploy it.

The report distinguishes Trusted publisher verified, Package rejected and Unsigned development package. Integrity can pass without authenticating a publisher. Admitted by this server means the local policy accepted it at verification time; the target runtime checks its own policy again. Production and protected environment rules can require signing even where a development server permits an unsigned package.

Procedure

  1. Select the exact built package and wait for Checking package and publisher… to complete.
  2. Review Policy decision, Environment, Algorithm and Signature required, together with any rejection code.
  3. Record Archive SHA-256, Manifest SHA-256, Publisher key fingerprint and Trust policy SHA-256 where present.
  4. Copy the verification report for the release evidence. Resolve a rejected publisher or policy through the operator's approved trust enrollment process rather than weakening the policy.
  5. Verify the same exact archive in the target runtime's admission workflow before execution.
  • The commands are an operator/approved-CI example from the product, not commands executed by this handbook. Keep the private key and password in the approved signing environment.
  • A signature verifies publisher identity and covered bytes under policy. It is not a malware scan, business acceptance certificate or proof that a live connector succeeds.
  • Descriptor & K8s previews and generated Docker/Kubernetes files require normal infrastructure review and application-specific configuration before use.
shell
python -m server.integration.car_cli sign application.car \
  --private-key /secure/publisher.pem \
  --password-env CAR_KEY_PASSWORD \
  --out application-signed.car

python -m server.integration.car_cli verify application-signed.car \
  --trust-file /etc/cohuno/publishers.json \
  --environment prod

Chapter 14 · Test, release & operate

Prepare versioned environments and approved bindings

An environment profile holds reviewed runtime limits, non-secret values and approved references for one application. The same immutable release can be deployed with different reviewed profiles. Saving a profile never changes an already running deployment.

Create Test and Production profiles

Profiles are scoped to the authenticated account and application. A preferred space is a convenience, not an entitlement to an unavailable runtime. The actual deployment remains subject to server capabilities, owner/workspace permissions, capacity, trust and connection approval.

Procedure

  1. On Applications, open the application's menu and choose Environment profiles. Choose an available template or create a profile with a custom name and Environment tag.
  2. In Settings, review Profile name, Environment tag, Description, Badge color and Preferred private space. The tag is displayed independently of the selected space.
  3. Set Cloud simulation for the training profile. Review Memory ceiling (MiB) and Concurrent executions; start conservatively within the operator's limits.
  4. Keep Enable approved background starters on deploy off during initial review. Live schedulers and pollers may begin external work immediately when enabled.
  5. Review Default for this application and Protected environment. The prod and production tags are protected on the server; their protection cannot be relaxed by clearing a checkbox.
  6. Enter a Change note explaining the decision and click Save profile. Later changes use Save new revision and reject stale concurrent edits instead of overwriting them silently.
Profile name, environment tag and protection settings belong to a saved configuration revision. The deployment later pins its exact selected configuration.

Set values and connection references without embedding secrets

Open Values & bindings. The precedence is archive/application defaults → saved profile → one-off deployment overrides. Globals merge by name, run variables by process ID and variable name, and connections by declared alias. Only existing declarations and compatible native types can be overridden. These maps do not edit the graph, shared mutable state, OS environment or runtime admission policy.

Load all application defaults can populate declared non-secret global values for review. Review those values before saving or exporting. For ordinary connector authentication, choose approved connection references. A secret-classified global uses an approved operator-managed secret name through the secret-reference controls; it must never contain the secret's value. Availability and per-owner grants are verified by the controller.

Procedure

  1. Inspect the configuration catalog and declared globals/run variables before editing JSON. Preserve declared names, process IDs and data types.
  2. Select only the approved connection identifiers matching the archive's aliases and connector kinds. If no suitable connection is offered, request its approved configuration rather than inventing an identifier.
  3. For a declared secret global, enter only the operator-provided secret reference name. Never place passwords, tokens, private keys or credential-bearing URLs into values, change notes, screenshots or exported profiles.
  4. Fix invalid JSON before saving. An invalid intermediate draft blocks review/save; it is not silently replaced with defaults.
  5. Save a new profile revision, record the change note, and review that exact revision in a separate deployment.
  • An empty object does not necessarily delete inherited map entries. Remove persistent entries deliberately in the saved profile.
  • Profile Revision history offers Restore draft: it loads historical settings as an unsaved draft; Save creates a new revision.
  • Portable profile import does not deploy or silently save. Space/storage IDs require re-selection, and connection references must be reviewed for the receiving account.
A deployed configuration snapshot remains pinned independently of later profile edits. The illustrated snapshot contains no connection or secret values.

Promote configuration through a reviewed lifecycle

A saved private profile has a Lifecycle tab for Promote configuration and Roll back configuration. This changes profile configuration, not the running CAR. Promotion follows the supported development → test → production tags, preserves target connections and secret references, and requires explicit selection for existing overrides that should be replaced.

Procedure

  1. Save or discard profile edits before opening Lifecycle. Choose the saved target profile whose configuration should receive the change.
  2. Choose Promote configuration, select Promote from, and inspect source and target revisions. Select only the existing overrides that should come from the source.
  3. Enter Reason for this change and click Review promotion. Read Review before saving and the changed paths. If the protected target requires it, type the exact environment confirmation.
  4. Acknowledge that this saves a new configuration revision and click Confirm promotion before the review expires.
  5. For configuration recovery, choose Roll back configuration, select Restore configuration from, provide a reason and review/confirm the new audited revision. Existing deployments remain pinned until a separate deployment review.
Configuration Lifecycle reviews promotions and rollbacks as new profile revisions. It does not alter running applications.

Chapter 15 · Test, release & operate

Deploy, promote and recover the exact release

Use the application deployment workflow only after its source, tests, archive and configuration have been reviewed. The available choices depend on the installed runtime and your role; a screenshot of an enabled control is not proof that another account or space has that capability.

Review and commit a cloud deployment

Open Deploy to cloud for the application. The workflow moves through Private space or Cloud space, Review release and Deployment. Private spaces are owner-managed; shared workspace operations depend on the operator role and runtime policy. A space organizes management and files, but its name alone does not create network isolation or provision cloud infrastructure.

Cloud simulation runs a real configured worker while simulating external connector effects. Live execution permits real approved external actions. The latter is disabled without operator approval. An application can be fully reviewed in simulation before live readiness is qualified.

Procedure

  1. Select the saved environment profile and intended existing space, or deliberately create a named training space with New space → Create cloud space where permitted.
  2. Choose Cloud simulation for the training deployment. Review Runtime limits & background starters and leave starters off initially.
  3. If needed, open One-off configuration overrides. Keep them deployment-only, or deliberately save a new profile / save over the selected profile. Do not assume one-off edits update the saved profile.
  4. Review Release artifact storage. Local retained archive keeps the CAR at the controller; an approved remote destination must upload and verify successfully before worker start.
  5. Click Review deployment. Inspect Review the exact release: environment revision, release SHA-256, configuration SHA-256, pinned processes, connection status, effective non-secret configuration, admission checks and warnings.
  6. If any reviewed input changes or the plan expires, return and review again. For a protected environment, type its exact tag in the confirmation field.
  7. Acknowledge the specific destination, mode and enabled starters, then click Confirm & deploy. Wait for the actual readiness state. Use Open Cloud Runtime for the retained deployment details.
  • Expected result: Application is ready only after the controller observes worker readiness. Worker readiness is pending or Deployment needs attention requires inspection, not a claim that the service is available.
  • The deployment pins the reviewed archive and configuration. Subsequent Designer or profile edits do not alter that deployment.
  • The endpoint requires a bearer token. Keep it out of screenshots, documents and browser URLs; use the provided server-side invocation example with a securely supplied token.
The exact release review identifies the archive digest, configuration digest, publisher checks and pinned process revision. Deployment was not confirmed for this capture.

Promote or replace without rebuilding silently

Replacement is a stopped-target workflow. It does not promise rolling, blue/green or zero-downtime deployment. Configuration-only replacements create distinct history even when the CAR digest is unchanged. For a different environment identity, prefer a separate deployment rather than treating a stopped endpoint as interchangeable.

Procedure

  1. Open Cloud Runtime and the owned Cloud deployment details. In Environment, click Promote this exact release to reuse the retained admitted CAR.
  2. Select the target environment and space, inspect its bindings and limits, and complete a fresh review. Promotion includes no subsequent editor changes and cannot turn an unsigned development package into a trusted signed production release.
  3. To update an existing endpoint, explicitly stop the target worker first, then choose Review replacement or a Replace stopped release strategy.
  4. Review exact release and configuration changes before confirming. A stopped replacement retains the selected deployment's URL/token and files; a target linked to a saved profile requires its matching profile identity.
  5. After replacement, confirm readiness and test the intended authenticated service boundary with approved non-production data before declaring the environment accepted.

Rollback code and configuration deliberately

Rollback restores the selected code/configuration snapshot. It does not restore files, undo a database write, retract a notification or reverse any other external action. Retained deployment history is bounded to 20 entries; maintain the organization's separate backup and release-retention policy.

Procedure

  1. Open Release history in the deployment and identify the exact previous history entry, including release digest, environment and configuration hash.
  2. Stop the worker when required, then click Review rollback on that history entry.
  3. Review the restored CAR and original environment/configuration snapshot. The current saved profile is not substituted for the historical snapshot.
  4. Complete fresh ownership, publisher-trust, connector and storage admission checks, then explicitly confirm the reviewed rollback.
  5. Verify readiness and the service outcome. Reconcile any external effects independently and record the incident/recovery evidence.
Release history belongs to the deployment. This stopped example has one retained current release and no previous release to roll back to.

Treat remote artifact storage as storage

Artifact storage destinations supports AWS S3 and operator-approved S3-compatible services. It retains exact CAR bytes; the configured Cohuno worker still executes the application. It does not create a bucket, VM, ECS service or Kubernetes cluster. Test bucket access performs HeadBucket only and cannot prove upload, download, encryption-key access or public-access policy.

On an actual reviewed transfer, the controller conditionally writes a content-addressed object, reads it back and verifies SHA-256 before starting the worker. Verify remote copy & trust in deployment Environment repeats byte/trust verification without execution. The CAR is not a complete backup: management records, profile history, snapshots, trust material, vault keys and space files require separate recovery planning.

Chapter 16 · Test, release & operate

Operate runs and diagnose durable work safely

Use ordinary traces to investigate completed simulations and Cloud Runtime to inspect deployed workers. Use Executions for the separately configured durable execution service. These are related tools with different state and authorization boundaries.

Inspect deployment health and retained logs

Viewers and Operators can read shared runtime logs, while permitted operational actions differ by role. Secret filtering is best-effort; business payloads may still be sensitive. Use an incident reference and safe error codes in support material instead of copying whole request bodies.

Operate → Runtime opens an independent Runtime Console using its separately configured console address and operator authentication. Your Cohuno session/credentials are not forwarded. The lower Terminal also provides project-scoped saved-metadata commands. External OSGi commands require an operator-approved target granted to that exact project; see the Project terminal command reference chapter.

Procedure

  1. Open the application in Cloud Runtime and select its deployment. Check its environment badge, mode, status, release digest and configuration hash.
  2. Choose Overview for deployment structure, Runtime logs for retained worker messages, and Deployment events for controller lifecycle events.
  3. Use Search retained runtime logs… to narrow the investigation. Refresh after an approved invocation or starter event rather than interpreting an empty log as proof that nothing happened.
  4. Open Environment to inspect the pinned snapshot, and Release history to compare the actual operational history with the current source release.
  5. Use Stop or Start saved release only with the required role and confirmation. Access token is owner-only and reveals a short-lived display on the device; avoid capturing it in documentation.
Cloud deployment details report the actual stopped worker state, configured resource ceiling and separate logs and history tabs.

Use durable execution only on an assigned runtime

Search for Executions or choose Durable execution from Test. If No execution runtime is assigned appears, ask the operator for a server-side target and explicit owner/project grants. Do not paste a runtime URL or bearer credential into an invented browser configuration. Runtime, administrator and mutation authorization stay on the server.

A durable job records an admitted entrypoint, release and configuration pins. Admission is not business completion. Its graph shows saved activity position and frame state, not a live suspended debugger; the simulation Step/Pause controls do not apply. Payload inspection requires both admission-time capture and a current payload-reading grant.

Procedure

  1. Select the assigned Runtime and Project, then read the SIMULATION or LIVE badge and admission state.
  2. For a deliberate training run, click New durable job. Select a supported pinned Entrypoint, supply contract-valid Input JSON and, when required, a Business sequencing key.
  3. Enable bounded captured data only when authorized, acknowledge the actual mode and click Submit durable job. Record the returned job ID/request identity.
  4. Select the execution and inspect state, Saved steps, Ownership fence, waits, Release and environment pins, saved data and Execution timeline.
  5. If submission becomes uncertain, use Retry the same submission in the current session or inspect the retained request identity. Reload does not resubmit automatically; resolve the uncertainty before creating another execution.
  • A supported durable subset is validated at admission. Do not assume it can serialize arbitrary parallel branches, open JDBC transactions, stream handles or broker receipts.
  • Send a correlated signal requires the declared channel/key and its permission. Duplicate signal identity is retained only within retention; do not reuse business IDs for different messages.
  • An unknown remote write must be reconciled against the external system. Privileged reconciliation requires current authority, a fence and evidence; a retry may duplicate an already accepted external effect.
  • Drain new admissions is runtime-wide. Before replacement, use Deployment preflight → Check current release and check other admitted projects; an empty selected project alone does not establish that the runtime is safe to replace.
Durable executions correctly reports that no execution runtime is assigned. Stored progress inspection is separate from simulation stepping.

Chapter 17 · Test, release & operate

Advanced integration concepts, troubleshooting and completion checklist

Use BusinessWorks concepts to ask precise integration questions, then verify how the selected Cohuno activity and runtime answer them. Similar terminology or a familiar canvas does not establish identical execution semantics or migration parity.

Translate concepts while preserving behavior

Make retry decisions per operation. Re-reading a resource is different from submitting a payment or sending a notification. For any operation that can have an external effect, define idempotency keys, timeouts, safe retry conditions and reconciliation behavior before adding a retry route. A timeout can mean an unknown outcome rather than a confirmed failure.

For native XSLT Mapper, the stylesheet remains authoritative. Diagram inspection is bounded and must preserve opaque imports, extensions and namespace scopes; it is not permission to reconstruct source from a simplified drawing. Treat unsupported constructs as explicit review items.

Familiar integration concernCohuno workflowReview point
Service contract and starterVersioned contract resource, typed Start/End and declared starterRequest/response roots, namespaces, protocol binding and actual exposed route
Shared connectionLogical connection declaration plus approved runtime bindingConnector kind, owner/runtime permission and separate connectivity qualification
Global variablesDeclared application defaults, token-bound fields and profile overridesType, scope, precedence, unresolved names and secret references
MapperNative mapping tools; XSLT mode preserves authoritative stylesheet sourceCardinality, namespaces, imports/extensions and exact input/output semantics
Call processSaved/pinned subprocess reference, including declared dynamic candidatesExact candidate closure, synchronous versus asynchronous behavior and output use
Error handlingConfigured error routes and catch-all pathAn empty visual handler does not supply logging, retry, compensation or recovery policy
Packaged applicationImmutable .car and exact process/resource closureArchive trust, release hash, compatible runtime and separately reviewed configuration
Runtime administrationCloud deployment or independent Runtime ConsoleActual target readiness, admission policy, operator role and provider evidence

Keep BW5 migration evidence explicit

The repository's BW5 migration workflow inventories original source, produces guarded native drafts and records diagnostics/dossiers. Parsed, converted, admitted, native-tested, oracle-verified and activated are different milestones. Generation or validation does not establish that the original BW5 engine and the native application behave identically.

Preserve original process identities, source hashes, missing dependencies, asynchronous spawn, loop types, dynamic pinned subprocess candidates and XML output behavior. A missing stylesheet is not an identity mapping; an unknown activity is not a no-op. Keep explicit guards for unsupported or unresolved behavior until the specific path has reviewed evidence.

Use synthetic inputs and dummy endpoints for native qualification. Compare against observed behavior from the actual source engine when available. A successful native subset test does not qualify all routes or prove BW6/BWCE compatibility. The handbook's Orders exercise demonstrates native authoring; the AWS screenshots illustrate navigation and should not be represented as an executed BW migration.

Troubleshoot the first incorrect boundary

Capture the smallest safe evidence that distinguishes the suspected causes: project/process/revision, synthetic input, activity/error code, source and release hashes, environment profile revision, deployment/job ID and observation time. Redact business data before sharing screenshots. Do not include tokens, private keys, credential fields or full production request bodies.

SymptomCheck nextUseful evidence
Simulation passes but live failsApproved target binding, credentials, network/provider rights and actual request shapeSafe connector error code, declaration revision and separately qualified provider test
Readiness says Not run for this sourceImport/run the selected suite for the current saved fingerprintFingerprint, suite identity and tested entrypoint revisions
Variable chip is unresolvedDeclaration spelling/type/scope and saved application defaults or profile referenceVariable reference and source revision; never a secret value
Response data is wrongFirst activity where input/output diverges; mapping cardinality and response contractSynthetic breakpoint context and exact expected-output assertion
A dependency pin cannot be openedWhether that exact revision is loaded/available and belongs to the projectTarget ID/revision and dependency finding; do not substitute latest silently
Restore/save conflictsAnother session saved a newer head; refresh before making a new decisionExpected/current revision and intended historical source
Signed package is rejectedPublisher scope, target trust policy, environment and package digestVerification report and policy code, without private signing material
Deployment waits or fails readinessWorker status/events, release/configuration acknowledgment and target capacityDeployment ID, exact hashes, safe runtime log excerpt
Remote storage access test passes but deploy failsPut/Get/KMS/versioned-read rights and read-back verificationProvider operation/error code; HeadBucket alone proves little
Durable job is unknown or blockedExternal effect and current business-key/fence state before retryVerified remote record plus audited reconciliation decision

End-to-end completion checklist

Completion means the required scope has evidence and the owner can operate it. The checklist records separate authoring, source validation, simulation, trust, environment and live-operation decisions so that a reader can tell exactly what was checked and what remains to be qualified.

Procedure

  1. Define the service contract, request/response examples, business success criteria and expected failures. Confirm that every required entrypoint is intentional.
  2. Create the project, save contracts/resources, implement typed processes and mappings, declare variables/connections and configure explicit error behavior.
  3. Run synthetic successful and negative simulations. Debug the first divergent boundary and add assertions that would detect its regression.
  4. Run the matching flow suite with output/error assertions, call verification and agreed coverage. Export source/suite/evidence for review.
  5. Save all reviewed source. Inspect Versions and Interfaces, then run Readiness against the exact saved fingerprint and address findings.
  6. Build a distinct application version with the intended entrypoints and pinned closure. Inspect the .car descriptor and verify archive integrity/publisher admission.
  7. Create/review the target profile, declared overrides, approved connection and secret references, limits, storage and starter settings. Record its exact revision.
  8. Review and explicitly confirm the exact release/configuration/space/mode. Wait for observed worker readiness and qualify the authenticated boundary with approved data.
  9. Record the actual deployed hashes, observed results and remaining limitations. Establish log access, alert/reconciliation ownership, retention and rollback procedure.
  10. For each later change, repeat the affected tests and saved-source release gate. Promote an exact admitted release when appropriate; recover through a reviewed historical source restore or deployment rollback according to the problem being solved.

Chapter 18 · Test, release & operate

Project terminal command reference

Use Terminal in the lower Studio workspace to inspect the saved project without leaving the designer. Project commands work without an external runtime. A separate Approved OSGi target mode appears only when an operator grants this account access to a configured target for this exact saved project. The live screenshots in this chapter were captured on 27 October 2026 from the saved AWS exercise project. Its names, IDs and counts are examples; your project will show its own metadata.

Open the terminal and inspect saved source

Open an application you own and save at least one process or resource in its project. Select Terminal in the lower workspace, or search for Open project terminal in Search actions, flows & activities. Check the project badge and choose Project commands. A new, empty or inaccessible project must be saved before its commands are available.

These commands return saved identifiers, names, revisions, resource types and counts. They exclude unsaved Designer edits and connection settings, global defaults, secret values, source documents and execution results. A successful status response describes saved source; it does not establish runtime health or provider connectivity.

Procedure

  1. Choose status to check the selected project ID and saved process/resource counts.
  2. Choose processes or resources to list metadata for that project. Use project for its identifier and counts.
  3. Type a command and press Enter, or select its command chip. Use help to show the supported catalog.
CommandResult
helpList supported commands and their boundaries.
statusCount the saved processes and resources in this project.
projectShow this saved project identifier and counts.
processesList saved process IDs, names and revisions.
resourcesList saved resource IDs, names, types and revisions.
Project commands - enter one line at a time
help
status
project
processes
resources
The live Studio terminal: choose Terminal in the lower dock, confirm the project badge, then run help. The fixed catalog is shown beneath the command chips.

Worked example: inspect a saved project

This read-only walkthrough uses aws_complete_exercise_modular. Open your own saved project, choose Project commands, and run status. The screenshot records the actual saved project response. An empty, new or inaccessible project must be saved before these commands are available.

Run project next to inspect the same project identifier and counts. Compare the project_id with the badge before investigating a result. Counts can change when you save processes or resources; unsaved Designer changes are excluded.

Procedure

  1. Select Terminal in the lower workspace. Check the project badge and the Project commands mode.
  2. Type status and press Enter, or click its command chip. Wait for the Read only result.
  3. Check project_id, process_count and resource_count. Run project to inspect the selected project metadata.
  • Read only labels the command response. It does not certify that a provider is reachable, a process passed a test, or a release is healthy.
  • Run one command at a time. Press Up to recall the last accepted command, or use the command chips.
Observed status response - saved AWS exercise project
{
  "project_id": "aws_complete_exercise_modular",
  "process_count": 18,
  "resource_count": 7,
  "scope": "saved_source_metadata"
}
Running status in the saved AWS exercise project returns 18 processes and 7 resources. These observed counts describe saved source metadata, not connection health or an executed integration.

Worked example: find processes and resources

Run processes to inspect saved process IDs, names and revisions. Run resources to inspect saved resource IDs, names, revisions and kinds. The real resource screenshot shows the beginning of the response; scroll within the terminal to read later entries.

Use the returned metadata to locate the corresponding item in Project files. A connection resource name is not a connectivity test, and the response does not include its credentials or connection properties. The example below is one complete item copied from the observed resources response, not the whole seven-resource list.

  • Output is bounded. A truncation notice means that the displayed inventory is incomplete; total is the reported count for the scoped result.
  • Use the appropriate editor or connection test when you need source configuration or provider qualification. Terminal inventory alone does not establish either.
CommandWhat to inspectNext action
processesThe items list, each process id/name/revision, and total.Find the process in Project files and inspect its saved revision.
resourcesThe items list, each resource id/name/revision/kind, and total.Locate the corresponding connection, variables or other resource in Project files.
statusSaved process_count and resource_count.Compare counts after saving source changes.
Observed resource item - response excerpt
{
  "id": "ix_c677562ef86540c9_c0",
  "name": "DYNAMODB real connection",
  "revision": 2,
  "kind": "connection"
}
The resources command lists saved resource IDs, names, revisions and kinds. This cropped view shows the beginning of the real response; scroll the terminal to inspect subsequent entries.

Worked example: recover from an unsupported command

Typing git status in Project commands produces: Use one of the available project commands. Arguments and shell syntax are not accepted. The screenshot shows that validation message from the live UI. This command is rejected; it does not run Git or open a host shell.

Procedure

  1. If a command is rejected, check the selected mode. Remove arguments or shell syntax.
  2. Click help to show the fixed catalog, then run status to obtain a supported read-only result.
  3. For repository actions, open Source control in the left Studio tools. Use that workbench to fetch, review changes, commit and push.
  4. Use Clear or Ctrl/Command + L to clear local output. Clearing does not alter saved project source or undo an external operation.
Supported recovery sequence - one command at a time
help
status
Entering git status produces the supported-command validation message. Use a command chip or help; perform Git operations in the separate Source control workbench.

Use history and keep commands within their scope

Project command names are lowercase and accept no arguments. Ordinary leading and trailing spaces are accepted. Shell syntax, pipelines, scripts, substitutions, control characters, file paths, URLs and commands outside the fixed catalog are rejected. Git operations belong in the GitHub source-control workbench; this terminal does not expose git or a host shell.

The transcript and history stay in browser component memory. Changing the project or signed-in account resets them. Clear removes the local display; it does not undo an action. Cancelling a request or leaving the view cannot cancel a lifecycle operation already accepted by an external JVM.

  • Native command history retains at most 50 accepted entries. Input is limited to 160 characters.
  • Project responses are bounded to 16,000 output characters and 200 metadata rows. A truncation notice means the displayed list is incomplete.
  • Project console requests have an owner rate limit of 60 per minute per API worker. This is not a shared cluster-wide limit. Wait before retrying a rate-limited read.
ControlUse
Up / DownRecall accepted command history in the current mode.
TabComplete a supported command.
Ctrl / Command + LClear the local terminal display.
Clear button or clear in OSGi modeClear local output without undoing external work.
Cancel while a request is runningStop waiting in this view; inspect external state if a mutation may have been accepted.

Inspect an approved OSGi target

An operator configures the authenticated Jolokia/JMX endpoint and exact MBeans on the server, then grants the account access to this exact project. Select Approved OSGi target, choose the intended target and use Test connection. Do not paste an endpoint, password or token into the command line. If this mode is absent, no approved target is available for the selected account and project.

The bridge supports the fixed commands below. Replace ID with a decimal bundle ID returned by the bundle list. Enter one command at a time. Listing bundles or checking a connection does not start them, deploy a Cohuno application or qualify a live business integration.

  • Use only a bundle ID actually present in the selected target. The example ID 12 is illustrative.
  • OSGi metadata is filtered and bounded, but filtering cannot guarantee that arbitrary names or upstream text contain no sensitive information. Review output before sharing it.
CommandEquivalent spellingResult
help-Show OSGi command help.
status-Perform the bounded read-only bridge check.
sslb or bundle:listList bundles.
headers IDbundle:headers IDRead selected public manifest metadata.
state IDbundle:state IDRead the bundle state.
start IDbundle:start IDRequest an explicitly permitted bundle start after confirmation.
stop IDbundle:stop IDRequest an explicitly permitted bundle stop after confirmation.
clear-Clear the local display.
Approved OSGi target - read-only examples
status
ss
bundle:list
headers 12
bundle:state 12

Confirm bundle lifecycle changes deliberately

Read-only access is the default. Starting or stopping a bundle requires the current account in the target administrator allowlist, an exact project grant, allow_mutations enabled and the positive bundle ID in the operator mutable_bundle_ids allowlist. The operator must also configure a framework generation and a durable lifecycle audit ledger.

The browser confirmation names the project, target and command. Verify all three before confirming. Bundle 0 lifecycle changes, install/uninstall, scripts and framework shutdown are unavailable. A bundle operation affects the external JVM; it is not a saved-process edit or a Cohuno release action.

Procedure

  1. List bundles and inspect the intended bundle state on the approved target.
  2. Enter start ID or stop ID, or its bundle: alias, using an allowed bundle ID.
  3. Read the exact project, target and command in the confirmation. Cancel if any identity differs from the intended operation.
  4. After an authorized confirmation, inspect bundle state and retain the observed result. If the request times out or its outcome is uncertain, inspect state before deciding on a new request.
  • One logical lifecycle request has a UUID. A completed duplicate is not executed again while its ledger record is retained and current grants still permit access.
  • An in-progress or uncertain lifecycle request is not automatically retried. Closing the terminal does not roll it back.
  • The durable ledger stops accepting new lifecycle requests after 10,000 recorded requests per owner. Ask the operator to investigate capacity; deleting records removes replay protection and is not a normal retry procedure.
Approved OSGi target - mutation examples requiring confirmation
bundle:start 12
bundle:state 12
bundle:stop 12

Resolve access and command errors

Operator setup and the full grant/transport policy are documented in docs/project-terminal.md in the Cohuno source distribution. A successful synthetic test or visible target is not evidence that a live JMX target has been qualified. Record actual endpoint checks and any separately authorized lifecycle checks for the intended environment.

What you seeNext action
Save a project you own before using its consoleSelect a saved project accessible to the current owner; save source first if the project is empty.
Use one of the available project commandsChoose a command chip or type help. Remove arguments and shell syntax.
Approved OSGi target is absentAsk the operator to configure the target and grant this account and exact project. Native project commands remain available.
Forbidden target or read-only targetVerify the current account, project and target. Start/stop additionally requires the administrator policy and bundle allowlist.
Rate limit or capacity reachedWait before another read, or ask the operator to investigate a persistent capacity condition.
Output truncatedTreat the displayed list as incomplete and use the appropriate source or operator view for a complete investigation.
Lifecycle timeout or uncertain resultInspect the external bundle state and request identity before considering another operation. Do not assume failure or automatic rollback.

The Orders training application

Download, inspect and build along.

Importing creates isolated source identities. Follow chapter 2 and use the supplied local rebinding helper with the actual imported process IDs before running the suite. The HTTP request body and the simulation envelope are separate files.

The invalid-quantity case expects the business fault quantity_invalid. Its process run fails as intended and the test passes. Import, validation and simulation do not enable a listener or deploy an application.

The service delivery lifecycle

The full service lifecycle distinguishes editable work, saved source, test evidence, packaged artifacts and deployed state.

Keep editable work, saved source, simulation evidence, packaged artifacts and deployed configuration distinct. Each stage produces evidence used by the next stage.

Additional screen reference

Enlarge an image to inspect its controls. These are reference captures; they do not imply that a live service was invoked or a deployment changed.

Process properties include the project, folder, deadline and executed-step budget.
Projects displays saved application source and an entry point for new-project import.
The saved SOAP to REST example includes contracts, normal routes and explicit error routes.
Restoring r1 would create r3. This screenshot shows the review step; the restore was cancelled.
Deployment setup chooses a private space, mode, strategy and configuration before reviewing the exact release.

Keep a copy

The handbook, wherever you work.

Download version 1.3 as a 58-page illustrated PDF, an editable Word document, or the full pack with searchable offline HTML and training files.

Documentation version 1.3 · Published 27 October 2026. The example has simulation evidence; later lifecycle chapters explain operations to perform and review in your own environment.

Illustration