The SendMessageAction is useful when you need to automate sending out messages.
In a setup where a workspace has more than one connection, it may be necessary to tell the recipe engine which connection to use. Otherwise, FSMS will use the routing rules to send out the message.
Configuring this can be done in the following steps\
1. Add a DropDown UserData as follows. Set the userData value as
${Connection.getAll().collect { it.name + " | " + it.id}.join("\n")}
2. The connections will be available for selecting when editing a Activity as follows
3. In the SendMessageAction reference the userData as follows
${userData["connection"]}
4. If you want FSMS to use the routing rules, set the connection to routing.rules
0 Comments