automation-pilot-dynamic-expressions
SAP Automation Pilot Dynamic Expressions
Goal
Produce an Automation Pilot dynamic expression, or a responseBodyTransformer pipeline, that is correct for its placement and reasoned against representative, non-sensitive data.
Automation Pilot evaluates expressions with a custom jq implementation that adds product-specific functions, restrictions, and output behavior and deviates from stock jq in places. Local jq is not proof that an expression behaves the same in Automation Pilot.
Required inputs
- Where the expression is placed (command value, output value, HTTP
responseBodyTransformer, or another field). - The value and type it must produce.
- The data available at that point: parent input, metadata, and earlier executor aliases and outputs, with their actual serialized forms.
An expression cannot read a later executor, and a conditionally skipped executor may have no output. When Command Authoring delegates expression work, it owns the accuracy of the execution-shaped fixture and the placement requirements.
Ask about omitted choices that change the value or its type; otherwise reason from the documented behavior.