-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Feature Description
Raised by community user
https://community.solace.com/t/local-event-feeds-reference-variables/4375
I set a value in the topic based off a enum array. In my payload I want to use that variable in the payload and concatenate it.
e.g. topic set
“orderno”: {
“schema”: {
“type”: “string”
},
“rule”: {
“name”: “orderno”,
“type”: “string”,
“group”: “StringRules”,
“rule”: “enum”,
“enum”: [
“38405802”,
“45937282”,
“23402384”,
“34802372”
]
}
},
In my payload I’m trying to do the following but the generator treats it as a static.
“callback”: {
“schema” : {
“type”: “string”
},
“rule”: {
“name”: “callback”,
“type”: “string”,
“group”: “StringRules”,
“rule”: “static”,
“static”: “https://acme.com/orders/${orderno}”
}
},
current data generated = https://acme.com/orders/${orderno}
desired output = https://acme.com/orders/38405802
Use Case
Simple use cases like: concatenate, lowercase, uppercase (will be a good start)
Proposed Solution
No response