bw_trfn_create
Creates a transformation, hydrates source/target elements and default rules, returns trfnId and XML for subsequent mapping and saving.
Instructions
Create a transformation via the 8TRANSIENT transient flow (Eclipse wizard equivalent). Server mints the id, hydrates all source/target elements and default rules from the two providers. Returns trfnId + hydrated XML. packageName defaults to $TMP; pass a real package together with transport to register in a workbench request. Then use bw_trfn_auto_map_and_save / bw_trfn_add_rules_and_save / bw_trfn_check to finish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transport | No | Workbench request number. | |
| outputPath | No | If provided, the full result is written to this path (under the workdir) and the tool returns only a small summary envelope { ok, outputPath, bytes, summary }. Objects/arrays are written as JSON; ONLY the bw_*_get_xml family writes the raw XML string as plain text (that file is directly reusable as xmlPath in a later save call). Other *_get tools (e.g. bw_dtp_get, bw_trfn_get) write the PARSED XML-to-JSON tree, not raw XML — use the matching bw_*_get_xml tool when you need the raw XML string. Use outputPath for large responses (XML, table data, logs, dataflow graphs). When set, tools skip inline pagination/projection so the file contains the complete payload. | |
| sourceName | Yes | Source object name (e.g. staging ADSO). | |
| sourceType | No | Source tlogo type, default ADSO. | |
| targetName | Yes | Target object name. | |
| targetType | No | Target tlogo type, default ADSO. | |
| description | No | Description (set on a follow-up save). | |
| packageName | No | Target package, default $TMP. Non-$TMP requires transport. | |
| responsible | No | Responsible user, defaults to login user. | |
| masterSystem | No | Master system, default BPD. |