A letter for one, news for all: messages and signals in Jira
A process often waits for news from outside: the customer has paid, the supplier has confirmed, the price list has changed.
Flower BPM has two kinds of news:
- A message is a letter for one process instance: Payment received for order FLOW-12.
- A signal is news for all: Price list changed reaches every process instance that waits for it, at the same time.
A person, a Jira Automation rule or another system sends them. The process goes on.
Reference: BPMN Message Events and BPMN Signal Events describe every element, the data and the edge cases. Flower BPM and Jira Automation shows the rules in both directions.
Message or signal?
| Message | Signal | |
|---|---|---|
| Who gets it | One process instance | Every process instance that waits for it |
| Addressed by | Its name and the key of the process instance (or one of its work items) | Only its name |
| Typical use | An answer for one process instance: Payment received, Supplier confirmed | News for many: Price list changed, Release approved |
| Nobody waits | Dropped, with a warning comment | Nothing happens |
Rule of thumb: if the sender knows the process instance, send a message. If the sender only knows that something happened, send a signal.
What waits
These elements wait for a message or a signal of one name:
| Element | When the message or signal comes |
|---|---|
| Intermediate catch event (and the receive task for messages) | The process goes on after it |
| Boundary event, interrupting | Flower closes the work item of the task and takes the path of the event |
| Boundary event, non-interrupting | The work item stays open, the path of the event starts in addition |
| Start event | The process instance waits at the start; the first task starts when it comes |
| Event sub-process | It starts, see React at any time |
| Catch event behind an event-based gateway | It takes the path if it comes first |
Select or create the message or signal in the properties panel of the element and give it a name, for example Payment received. Upper and lower case do not matter.
Try it in two minutes
Model the wait
Add an intermediate message catch event to a process and select a message named Payment received. Publish the model.
Start a process instance
Let the process reach the event. The process instance gets the note Waiting for the message Payment received at ….
Send the message
Write the comment @FlowerBPM Payment received on the process instance. The process goes on, and Flower writes the comment Message … received.
Send a message with a comment
Write a comment on the process instance or on any of its work items. A line that starts with @FlowerBPM sends a message, and the rest of the line is its name. The key: value lines directly below become the data:
@FlowerBPM Payment received
amount: 1200
reference: INV-4711
Paid by bank transfer.All other text of the comment becomes text in the data. @FlowerBPM must start a line; in the middle of a sentence it is no message. All rules: With a Comment.
Send a signal with a comment
Write @FlowerBPM signal <name> on any work item. It does not have to belong to a process:
@FlowerBPM signal Price list changed
list: 2027Without the word signal, the comment sends a message to the process of the work item. Flower answers on the commented work item with the process instances it reached, for example Signal Price list changed sent. To FLOW-1, FLOW-2.
A process can send a signal too: a signal throw event or signal end event reaches every process instance that waits for it.
Send them with Jira Automation or the REST API
| Way | Message | Signal | Hosts |
|---|---|---|---|
| Comment | @FlowerBPM <name> | @FlowerBPM signal <name> | Jira Cloud (Forge) and Data Center |
| Jira Automation action | Flower: Send message to process (inputs Work item, Name of the message, Data) | Flower: Send signal (inputs Name of the signal, Data; no work item) | Jira Cloud (Forge) |
| REST API of Flower | POST /rest/flower/latest/service/processMessage | POST /rest/flower/latest/service/processSignal | Data Center |

A rule with the trigger Work item transitioned to Paid can send Payment received; a scheduled rule can send a signal every Monday. The steps for each host: From Jira Automation to Flower. Which host offers which way: Limits and Host Differences.
Use the data in a gateway
Flower keeps the data of the last message or signal of each name at the process instance, up to 2000 characters. A gateway after the catch event reads it:
| Gateway flow | Condition |
|---|---|
| Large payment | ${pi.properties.flower.messageData['Payment received'].amount > 1000} |
| New price list | ${pi.properties.flower.signalData['Price list changed'].list == '2027'} |
Values from a comment are text. A condition such as > 1000 still compares them as numbers. See Expressions.
Who may send
- Only a person who can edit the work item sends a message or a signal by comment. A Jira Service Management customer who can only comment cannot. Flower then writes a warning comment and delivers nothing.
- A rule action needs an actor who can edit the work item and its process instance. Otherwise the audit log of the rule shows why nothing was sent.
- A signal from a person reaches only the waiting process instances that this person can edit. A signal throw or end event of a process reaches all of them. One signal reaches at most 1000 process instances, the oldest first.
- On Jira Cloud, the default actor of a rule, Automation for Jira, is an app account, and Flower ignores comments of apps. Use the actions of Flower, or let the rule act as a person.
Timing matters
A message or signal does not wait for the process. If it comes before the process waits, a message is dropped with a warning comment, and a signal reaches nobody. Let the process wait first. If the news must stay valid, use a conditional event on a field that stays set.
Frequently asked questions
How do I let a process wait for an answer from another system?
Model a message catch event or a receive task with a named message. The other system writes the comment @FlowerBPM <name> with the Jira REST API, calls a Jira Automation rule, or on Data Center calls the REST API of Flower.
Why did my message not arrive?
Check three things: the process waited before the message came, the writer can edit the work item, and the comment does not come from the app account Automation for Jira. Flower writes a warning comment in the first two cases. See Permissions and Edge Cases.
Read more
- BPMN Message Events: every message element, the comment rules and the REST API.
- BPMN Signal Events: who a signal reaches and the inbox behind it.
- Flower BPM and Jira Automation: rules and processes in both directions.
- React at any time: a message or signal that starts an event sub-process.
- Let a rule do a task: a rule that does a step and reports it done.
