Skip to content

Map Report values and tables to Flow inputs

An authored Report value is the source; a public Flow input is the destination. One source can be reused across several destinations, while each destination input has one active source. All input mappings added to one connection travel together as one Flow Run's input set.

A single view of value direction, connection cardinality, and isolation across concurrent Runs.

Create the input region and binding together

At an empty caret, type @ and confirm Connect input in the Resolver. That one confirmation creates the editable input region and Flow input binding together. You can also start from selected ordinary text or a number; the selection initializes the new input but remains ordinary Report content until confirmation. A blank required input is connected but incomplete and becomes ready to run only after its value is committed.

When several named values belong to one structured value and appear at separate positions in a sentence or list, confirm @ once at each visible position. Connections made this way belong to the same structured value, so they are stored together as one mapping. Esc, Cancel, or the guide's Exit before confirmation creates neither object at that position. An earlier position already confirmed in the same action remains connected. Undo or Disconnect removes both in one edit and unwraps the value as ordinary Report content. Surrounding prose, lists, and tables stay unchanged.

A permanent load G and a variable load Q that belong to one structured value follow this sequence separately. Confirm @ at each position, create a blank connected input, and type its value; the two connections are then stored together as one mapping.

Choose the value shape first

Report sourcePublic Flow inputWhat to review
24.0 m, 42numberNumeric type, unit, and scalar shape
S355textText type and allowed values
truebooleanBoolean type
A named set of fieldsRecordField mapping and each field's type and unit
Several itemsList<T>Item source and item type
Rows and fields with a stable keyTable<Record>Row key and column mapping
Report attachment or Project resourceartifactArtifact kind and access

Results use the same value shapes. Number, text, and boolean results can appear inline; Record, List, and Table results can appear by field or in result blocks; artifacts use dedicated artifact positions.

Connect one number, text, or boolean

  1. For a new value, place the caret at an empty position. To use existing content as the initial value, select its text, number, or boolean.
  2. Type @ or open @ Insert → PXFLOW.
  3. Choose the Project and Flow, then Use report input.
  4. Select a public input with a compatible type and unit.
  5. In Review connection, confirm the new input for the empty position or the selected source value, together with the destination input.
  6. Choose Connect input.

At an empty caret, the final Connect input confirmation creates the empty editable field and input mapping together. The selected-value path creates the field and mapping at the same step.

Map Record, List, and Table fields explicitly

For a structured value, pair each Report field with the Flow field it feeds. That pairing is the field mapping, and it — not the visible column order — defines the connection, so reordering or adding columns on screen leaves existing connections intact.

Map one Record

A Record is a named field set that describes one item.

Report fieldFlow section Record field
section_widthwidth
section_depthdepth
steel_gradegrade
  1. Select the Report fields that form one Record.
  2. Choose a Record input such as section.
  3. Under Connection, select a destination field for each Report field.
  4. Review required fields, types, units, and nullability, then choose Connect input.

Map one List

List<T> is one collection whose items share a type.

  • For List<number>, map each value from a selected Report field as one item.
  • For List<Record>, choose a stable item source and the Record field mappings.
  • In Review connection, confirm the item count, item type, and order.

For example, mapping three rows from a factor field to List<number> sends [1.0, 1.35, 1.5] as one collection value in one Run.

Map one Table

A Table holds several rows of the same shape. Connecting one means setting two things.

  • Row key: the value that identifies each row. In the example below, case_id is the row key. Rows are matched by this value instead of by row number, so sorting the table or inserting and deleting rows keeps each row's input and result together. Choose a column whose values never repeat.
  • Field mapping: which Flow Table column each Report column feeds.

Using @ to promote an existing ordinary table range into a connected input is planned. Today, Connection → Table mapping only edits an already connected table's fields and row keys. To create a new connected table, type @ at an empty paragraph caret, choose the Table input, and confirm Connect input; that confirmation creates the table region and binding together.

Report fieldFlow load_cases Table fieldRole
case_idcase_keyStable row key
permanentpermanent_gnumber [kN]
variablevariable_qnumber [kN]
  1. At an empty paragraph caret, type @, choose the Table input, and confirm Connect input.
  2. Enter the rows and fields, including the stable row key and every field needed by the calculation.
  3. Open the saved connection and go to Connection → Table mapping.
  4. Set the row key and each destination field.
  5. Review types, units, required fields, and the selected row count.
  6. Apply the mapping to the current draft and Save the Report.

Connected cells and rows show a compact @ mark together with a direction label:

  • Report → Flow sends a Report range to a Flow input.
  • Flow → Report displays a Flow result at a Report position.
  • Selecting the @ mark reopens that mapping in the resolver.
  • Turning off Connections hides the marks without removing content or mappings.

Map a Table result into the Report just as explicitly. For example, map the result's case_key, utilization, and passed fields to the Report's case_id, ratio, and status fields. The stable row key aligns each result row with its original case.

Map one artifact

Select a Report attachment or Project resource, then choose a compatible artifact input. In Review connection, confirm the artifact kind, source name, and access. The Run receives an authorized resource reference, preserving the same provenance from Report through Result.

Reuse sources and resolve destination conflicts

Reusing one Report source across different inputs creates a separate mapping for each destination. For example, span = 24.0 m can supply both clear_span and analysis_length. Editing the source marks both mappings and their affected Results Stale.

If two Report sources target one Flow input, the editor shows Duplicate destination. Choose the one source that should own the input; the other mappings remain unchanged.

Choose one collection Run or one Batch with child Runs

Choose by the destination shape, not by how many rows are selected.

GoalDestinationRun countResult state
Calculate several values as one collectionList<T>1The complete list belongs to one Result
Calculate several Record rows as one tableTable<Record>1A Table result can include stable row keys and row statuses
Calculate each row as an independent scalar caseScalar input set in an explicit Batch RunOne child Run per caseEvery stable case key has its own Run state and Result

Run one collection

Report selectionPublic Flow inputValue sent
One cellScalarOne scalar
N rows × one fieldList<T>One list
N rows × several fieldsTable<Record>One typed table
Several fields for one itemRecordOne named field set

When the Flow needs row-level outcomes, expose a Table result with the stable row key, status, calculated values, and diagnostic fields. Report Workbench displays the Table as one Run's Result, so successful rows and rows needing review share the same provenance.

Run several scalar cases as a Batch

  1. Select the rows that supply the scalar input sets.
  2. Choose Create Batch Run from the shape guidance.
  3. Review the stable case key and complete input set for each row.
  4. Review inputs shared by every case and inputs that vary by case.
  5. Confirm the case count and result destination, then choose Run batch.

For example, ULS-01, ULS-02, and SLS-01 create three child Runs. They can execute in bounded parallel when capacity is available, and completion order is unspecified. The Batch view shows Queued, Running, Succeeded, Failed, or Cancelled for each stable case key and its Result.

When some cases succeed and others fail, the Batch summary reports the partial status. Completed Results remain available; select only the necessary child Runs to Retry or Cancel.

Keep input and result fields in the same table

One table can send authored fields as inputs and display calculated fields as results.

CasePermanent GVariable QUtilizationStatus
ULS-01authored valueauthored valueFlow resultFlow result
ULS-02authored valueauthored valueFlow resultFlow result
SLS-01authored valueauthored valueFlow resultFlow result
  • The Report document owns authored input fields; px.Report and Report Workbench edit them.
  • Result fields display an immutable Result as read-only content.
  • The case_key mapping connects input rows, result rows, and provenance.
  • After editing an input or the Flow, choose Run again to project the new Result into the result fields.

The selected ranges stay visible while the resolver lists the compatible typed result fields.

Edit a mapping

  1. Turn on Connections.
  2. Select the @ mark on the value or table range.
  3. In the resolver, change the source, Flow, or public input.
  4. For a Record, List, or Table, review the field mappings again.
  5. Confirm the updated route in the row direction labels and the summary below the table.
  6. Apply the draft change and Save the Report.

Immediately after creation, Undo removes the input region and binding together. For a saved connection, Disconnect does the same and leaves the value as ordinary Report content.

Resolve type, unit, and shape states

StateMeaningNext action
CompatibleSource and public-input contract matchConnect or Apply
Shape mismatchScalar and collection shapes differChoose a collection input or create a Batch Run
Unit mismatchUnit conversion needs reviewChoose a compatible input or confirm an explicit conversion
Missing required inputThe same Run needs another input mappingAdd the listed source mapping
Missing fieldA required Record or Table field has no sourceMap a source field to the destination field
Duplicate destinationTwo sources target one public Flow inputChoose one source
Stale resultAn input, mapping, or Flow changed after the RunSave and Run again

Understand the saved mapping

The Report stores stable semantic keys for the selected block, table, rows, and fields rather than screen coordinates. It also stores the Project, exact Flow revision, public input, and connection Run policy. The Flow continues to own its Nodes and internal connections.

See the Report-to-PXFLOW input mapping contract for the exact .pxreport source fields and input and result types and units for Record, List, and Table rules.

Continue