How to send message within a signal to several pools?

How to send message within a signal to several pools?

can I send a complex variable through a signal to several pools?

Hello,

With Bonita, a SIGNAL can't carry any message. So, you can imagine a mechanism where:

* you store data somewhere in a table

* you send your signal

* each receiver comes to read this piece of data

and a MESSAGE can carry data, but a message is 1 to 1 : one sender, one receiver.

Via the APi you can send multiple messages.

Best,

can I send a complex variable through a signal to several pools?

 Thanks sir

So, how I can do it with api?

Hello,

With the JAVA API, you can send a message 

Have a look in the Longboard page, here 

https://github.com/Bonitasoft-Community/page_longboard/blob/master/src/main/java/com/bonitasoft/custompage/longboard/casehistory/MessageOperations.java

SendMessage : line 231 

Hope this help,

 

I use bonita studio, so, I should be create this project in Java editor after that I will add it to my bonita project as page resources ? Are there any way to do this with bonita.?