I am trying to setup a BO that exposes 2 communication channels (E-mail and REST). Unfortunately, I have been unable to get the second communication channel to work.
Questions: 1) On the "Communication Channels" setup window, is the Channel at the top of the list the default channel? 2) is there any way to make a different channel the default?
When E-mail is the top Channel and REST is below it,
"SEND OutgoingEmail TO MyRecipient" works
"REQUEST SERVICE TestRest OF MyRecipient VIA REST" does not work.
It looks like the system is trying to send an email because the following error is in the Tomcat log:
"ERROR -No body in the email. Email will not be sent."
If REST is the top Channel and E-mail is below it,
"REQUEST SERVICE TestRest OF MyRecipient VIA REST" works.
"SEND OutgoingEmail TO MyRecipient VIA Email" does not work with the following error in the Tomcat log
ERROR -Unable to send notification to recipient MyRecipient
com.bas.shared.domain.configuration.DomainException: Unknown communication channel Email is defined for business object MyRecipient is invalid
FYI: For sending the email, I also tried:
"SEND OutgoingEmail TO MyRecipient VIA E-mail"
But when trying to save the rule I got error
Syntax error at token "-"
I am using the latest build (2819).