26 Apr 2021 02:28 PM - last edited on 27 Apr 2021 01:40 PM by Karolina_Linda
I am trying to rename all of the requests that come in with "/hiddencall" with the "a-bcd-operation-name" requestAttribute value. This does not work, but shows no errors . An example of a value could be something like CustomerUpdateCart. Here is the body of the API call.
{
"enabled": true,
"namingPattern": "{RealName}",
"conditions": [
{
"attribute": "REQUEST_NAME",
"comparisonInfo": {
"type": "STRING",
"comparison": "BEGINS_WITH",
"value": "/hiddencall",
"negate": false,
"isCaseSensitive": false
}
}
],
"placeholders": [
{
"name": "RealName",
"attribute": "SERVICE_REQUEST_ATTRIBUTE",
"requestAttribute": "a-bcd-operation-name",
"kind": "AFTER_DELIMITER",
"delimiterOrRegex": "="
}
]
}
Solved! Go to Solution.
26 Apr 2021 04:15 PM
After trying various comparison values , using "EQUALS" is what worked
Replaced "comparison": "BEGINS_WITH", with "comparison": "EQUALS",
and now the naming rule works as expected.