Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
FatalActivityExecutionException when I use html entities in command


You didn't share your method body, but I suspect you're trying to echo the incoming message back into the room. The exception you see is not due to the incoming format but the outgoing format.

When sending messages, all special characters have to be escaped, as you have found. You can review the docs at this page:
https://docs.developers.symphony.com/building-bots-on-symphony/messages/overview-of-messageml#xml-formatting

  
  
Posted one year ago
Yong Sheng Tan
39 × 2 Administrator
  
  

The issue is not while responding to the message as I am not using any of the xml entities in my responses.
Please refer the error log: Error

Ali Rizvi   one year ago Report
  
  

Continuation of error log: Error

It doesnt enter my listener function commandHandler. Fails before entering.

Ali Rizvi   one year ago Report
1
1

My bad - I didn't realise you were using a regex in your pattern - that is no longer supported since 2.5.0 when arguments were introduced. there was also a fix for escape sequences in the interim but you should look at upgrading to the latest version of BDK. if you require a custom matcher (including regex), you will need to build a custom class that extends CommandActivity<CommandContext> and define an override to matcher()

Yong Sheng Tan   one year ago Report
549 Views
0 Answers
one year ago
one year ago