Hi,
I am using the websocketSender transformer to stream some data; when I am using the template in the data to transmit as below:
{
"ws_op" : "send",
"ws_msg" : "FME Rocks"
}
I have no issues; however when replacing the "FME Rocks" with the attribute name, nothing happens. For example, if I have an attribute named "id", here is what I do:
{
"ws_op" : "send",
"ws_msg" : fme_get_attribute("id")
}
I don't get any errorr, it is just that data is not transmitted compared to the first case.
Any pointers would be much appreciated.
Thanks.
Lyes