Set specified fields on the Assembly Context
Table 1. Supported parameters
| Parameter |
Required |
Data type |
Details |
| messageBody |
Yes |
object |
Set the body of a specified message |
| messageHeader |
Yes |
object |
Set a header of a specified message and header name. |
| messageMethod |
Yes |
object |
Set the method of a message |
| messageUri |
Yes |
object |
Set the URI of a message |
| variable |
Yes |
object |
Set a variable in the Assembly Context |
| distributedVariable |
Yes |
object |
Set a variable on a remote database |
| telemetry |
Yes |
object |
Set a telemetry attribute on an existing span |
| valueType |
No |
object |
Specify how values are evaluated |
Table 2. Nested properties inside
messageBody
| Parameter |
Required |
Data type |
Details |
| messageName |
Yes |
string |
Name of the message to set |
| value |
Yes |
string |
Dynamic expression to provide the value of the body to set |
Table 4. Options for action
| Parameter |
Required |
Data type |
Details |
| set |
No |
enum (of string) |
Set a header entry, replacing any existing headers of the same name |
| add |
No |
enum (of string) |
Add a new header entry, leaving headers of the same name unmodified |
| combine |
No |
enum (of string) |
Coalesce with all existing headers of the specified name using comma separated format |
Table 5. Nested properties inside
messageMethod
| Parameter |
Required |
Data type |
Details |
| messageName |
Yes |
string |
Name of the message to set |
| method |
Yes |
string |
Dynamic expression to provide the value of the method to set |
Table 6. Nested properties inside
messageUri
| Parameter |
Required |
Data type |
Details |
| messageName |
Yes |
string |
Name of the message to set |
| nameType |
No |
object |
Specify how query parameter names are evaluated, default to variable. |
| path |
No |
string |
Dynamic expression to provide the value of the path to set |
| queryParams |
No |
array |
Optional vector of query params |
Table 7. Nested properties inside
queryParams
| Parameter |
Required |
Data type |
Details |
| name |
Yes |
string |
Dynamic expression to provide the name of query parameter |
| value |
No |
string or null |
Optional Dynamic expression to provide the value of query parameter. If not specified the
above name will be set alone without = format. |
Table 8. Nested properties inside
variable
| Parameter |
Required |
Data type |
Details |
| messageName |
Yes |
string |
Name of the variable to set |
| value |
Yes |
string |
Dynamic expression to provide the value of the variable to set |
Table 9. Nested properties inside
distributedVariable
| Parameter |
Required |
Data type |
Details |
| expire |
No |
integer or null |
Optional integer, specify the time to live in seconds of the variable. Default 0 (never
expire). |
| name |
Yes |
string |
Name of the variable to set |
| setExclusive |
No |
boolean or null |
Optional flag, set only if name does not exist, otherwise fail. Default false. |
| value |
Yes |
string |
Dynamic expression to provide the value of the variable to set |
Table 10. Nested properties inside
telemetry
| Parameter |
Required |
Data type |
Details |
| keys |
Yes |
string |
Attribute key. If the key already exists, the value will be replaced. |
| span |
No |
object |
Span where attribute is being set. Defaults to root span. |
| value |
Yes |
string |
Dynamic expression to provide the value for the attribute |