Hi Docs Team,
Your documentation mentions this exact phrase:
"name": "_#'hello'.concat('world')_#"
I tried it as example (but then with title instead of name since that was the attribute I needed to change.). ISC received a 200OK response and on the target application I saw this value:

So the web service connector did not read these _# commands. Instead it read it as literal string. To me this shows that this bit of the documentation is wrong (or there is a bug). Can you please validate this for me?
Please note I have the following usecase: I have several account attributes (including title) for which I want to perform attribute sync.
The actual body would look something like this if due to attribute sync I need to update title to foo and country to bar:
{
"user": {
"title": "foo",
"country": "bar"
}
}
If due to attribute sync I only need to update country to bar, the body should look like this:
{
"user": {
"country": "bar"
}
}
Since I won’t be changing the title, it should not be in the body.
If due to attribute sync I need to strip the title (should be null) and update the country to bar, then it should look like this:
{
"user": {
"title": null,
"country": "bar"
}
}
How can I achieve this using the web service connector?
I tried doing the following:
{
"user": {
"title": "$plan.title$",
"country": "$plan.country$"
}
}
But in this case, regardless of whether attribute sync wants to keep the title as is (title not visible in the plan) or strip it (title part of the plan as null), this web services connector will omit this data from the body, meaning we can’t strip it. I am trying to see if the expression language can help me, but the documented example doesn’t work.
Kind regards,
Angelo