Skip to Content
Flower BPM 3.8.0 is released 🎉 See what's new
Blog3 Services and Robots

Microservice and Robotic Service Orchestration in Jira

Microservice and Robotic Service Orchestration in Jira

Most talk about microservice orchestration comes from the engine vendors: a central workflow engine calls service after service, keeps the state, retries what fails and runs compensations when a transaction breaks.

Business processes in Jira need a slice of the same thing. An onboarding process calls the HR system and the identity service. An order process asks a credit check. A change request triggers a deployment pipeline. And between those calls, people decide, approve and do work.

This article shows how Jira & Flower BPM orchestrates services, AI agents and people in one BPMN process, with Jira Automation as the bridge to your services, and where its limits are.

In short: Flower BPM runs the BPMN model in Jira and keeps the state of every process instance. When the process reaches a service step, a Jira Automation rule calls your service with a web request, and the answer comes back into the process, which decides how to go on. People get their steps as Jira work items, AI agents (Rovo) do steps of their own, and timers and error events handle what goes wrong. It is built for business processes of human work with services around them, waits of minutes to days, and not for high-volume, sub-second service chains.

Series: Orchestration in Jira, part 3 of 5. The series looks at what a process in Jira coordinates: people, services, robots and AI agents, and who decides what.
  1. 1Process Orchestration in Jira: One Model for People, Systems and AI Agents
  2. 2Business Orchestration and Automation (BOAT) for Teams in Jira
  3. 3Microservice and Robotic Service Orchestration in Jira (this article)
  4. 4Agentic Orchestration in Jira: AI Agents as Steps of a BPMN Process
  5. 5Deterministic Processes, Creative Agents: Who Decides in an AI Process?
A BPMN order process in Jira in the middle: an automated task Check credit with a timer, a gateway, a task Approve the order, a task Draft the reply done by a Rovo agent, and a task Ship. On the left, the services it calls through Jira Automation: Credit check API, Identity API, Procurement API. On the right, the Jira work items of the people and the Rovo agent

What Is the Difference Between Orchestration and Choreography?

  • Orchestration: one engine owns the flow. It knows which service comes next, waits for the answer and decides. The process model is the single place where the flow is visible.
  • Choreography: services react to events of other services. Nobody owns the end-to-end flow; it emerges from the subscriptions.

AI agents as steps of the process are the subject of part 4.

Orchestration compared with choreography. Left: one process in the middle calls services A, B and C and gets their answers; the process model owns the flow. Right: four services react to each other's events, such as AccountCreated, LaptopOrdered, CreditApproved and EmployeeHired, without an owner of the end-to-end flow

Most real systems mix the first two. The question for a business process is simpler: where is the flow visible, who sees where an instance stands, and who steps in when something fails? In Jira & Flower BPM, the answer is the BPMN model in Jira and the work items of each instance.

How Jira & Flower BPM Orchestrates a Service

The building block is an automated task with Wait for Jira Automation, a round trip through Jira Automation:

  1. The process reaches the task. A service task such as Check credit limit has the tick Wait for Jira Automation. Flower BPM creates no work item; the process instance gets the comment Flower Automation Event: Check credit limit, which starts the rule, and waits.
  2. The rule calls the service. A Jira Automation rule reacts to that event and calls your microservice with the action Send web request, with the data of the process instance in the body.
  3. The rule reports the result. The rule ends with the action Flower: Complete automated task, with the answer of the service as the result, for example {{webResponse.body.decision}}, or with an error code.
  4. The process decides. A gateway reads the result and takes the path. An error code ends the task with a BPMN error, and an error boundary event takes the error path.
The round trip of a service step in four steps: 1 the process reaches the service task Check credit limit with Wait for Jira Automation and adds the comment Flower Automation Event: Check credit limit; 2 a Jira Automation rule triggered by that comment calls the service with Send web request; 3 the same rule ends with Flower: Complete automated task and the answer as the result, or an error code; 4 a gateway decides: approved leads to Ship the order, otherwise Review by hand, and an error code takes the error boundary event to Handle the error

See Flower BPM and Jira Automation for the rule step by step.

Patterns for Service Orchestration

PatternBPMN elementWhat happens in Jira
Call and wait for the answerService task with Wait for Jira AutomationA rule calls the service and completes the task with the result
Call several services at onceParallel gateway before several automated tasks, a joining gateway after themOne rule run per task; the process goes on when all have answered
Wait for a callbackMessage catch event or receive taskThe service calls back later (a rule with an incoming webhook, or a comment @FlowerBPM <message>); Flower: Send message to process wakes the waiting instance
Broadcast an eventSignal catch or start eventFlower: Send signal reaches every instance that waits for the signal (at most 1000 instances per signal; a signal sent by a person reaches only the instances that person can edit)
Time outTimer boundary event on the service taskIf no answer arrives in time, the timeout path runs, for example a task for a person. Timers count in days
Handle a failureError boundary eventThe rule completes the task with an error code; the error path runs
Fire and forgetIntermediate throw eventA rule starts, the process goes on at once
Start a robot (RPA)Throw event, then an event-based gateway with a message catch event and a timerA rule starts a job of your RPA platform; the platform reports back when the job ends, see below
Let an AI agent do a stepA task done by a Rovo agent, a gateway on its answerSee AI Agent Steps
Keep a person in the loopUser task in a laneA Jira work item for the right team, on their board

Robotic Services and RPA Bots

Some systems have no API, only a user interface. For those, many organizations run robotic Process Automation (RPA): software robots that click through the screens of an application as a person would. Flower BPM has no robot of its own, and it does not need one to use yours. A robot of your RPA platform is a service like any other, and the process calls it at a fixed point:

  1. The process starts the robot. An intermediate throw event, for example Start ERP robot, triggers a Jira Automation rule. Send web request calls the API of your RPA platform and starts a job with the data of the process instance, including its key.
  2. The process waits. An event-based gateway waits for the message ERP order entered or for a timer, whichever comes first.
  3. The robot reports back. When the job ends, the RPA platform calls an incoming webhook of Jira Automation with the key of the process instance, and the rule delivers the result with Flower: Send message to process. The waiting instance moves on.
  4. The process decides. A gateway reads the result, and a failed run takes a path to a person. If the robot never reports, the timer behind the event-based gateway takes that path instead. Timers count in days.
A robot in the process: the throw event Start ERP robot triggers a Jira Automation rule that starts a job of the RPA platform with Send web request; an event-based gateway waits for the message ERP order entered or a one-day timer; when the job ends, the platform calls an incoming webhook and the rule sends the message with Flower: Send message to process; a gateway sends a successful run to Confirm the order and a failed run, or the timeout, to Enter the order by hand

For robots that finish within the timeout of a web request, the round trip of an automated task described above works too.

The robot does the clicking, the process decides when it runs, what happens with its result and who takes over when it fails. The same model runs every time, and every run is visible in the instance and in the audit log of Jira Automation.

An Example: Employee Onboarding Across Systems

  1. HR enters the new hire. The process starts.
  2. In parallel: an automated task creates the account in the identity service, another one orders the laptop in the procurement system, and a user task asks the manager to plan the first week.
  3. A timer boundary event on the account task: if the identity service has not answered by the next day, the IT service desk gets a work item.
  4. A Rovo agent drafts the welcome e-mail from the role and the team; the manager approves it in a user task.
  5. When the laptop arrives, the procurement system calls back. A message catch event receives the delivery and the process continues.
  6. On day one, the process waits for all branches and closes.
The onboarding process as a BPMN diagram with lanes HR, Identity, Service desk, Procurement, Manager and Rovo agent: after the start event New hire entered, a parallel gateway starts the automated task Create account with a one-day timer boundary event leading to the user task Create account by hand, the automated task Order laptop followed by the message catch event Laptop delivered, and the user task Plan first week followed by the agent task Draft welcome e-mail and the user task Approve the e-mail; a joining gateway leads to the end event Day one

Every step is visible on the diagram of the instance, every work item is in Jira, and every rule run is in the audit log of Jira Automation.

Why Orchestrate in Jira?

  • The people are already there. Approvals, exceptions and manual steps land as work items on the boards teams use every day, not in a separate task inbox.
  • One place to see where an instance stands. The diagram of each instance, the work items, and JQL across all instances.
  • Governance from Jira. Permissions, history and audit logs of Jira and Jira Automation apply to processes, rules and agents.
  • No second system. No extra engine to run for business processes; on Jira Cloud, Flower BPM runs on Atlassian Forge, inside Atlassian’s infrastructure.

Where the Limits Are

Be clear about what this is for:

Fits wellUse a dedicated engine instead
Business processes with people in the loopHigh-volume, sub-second service chains
Waits of minutes, hours or daysThousands of service calls per minute
Instance numbers your Jira Automation allowance carriesStrict latency or throughput guarantees
Services that answer within seconds or call back laterDistributed transactions with automatic compensation (sagas)

The reasons are concrete:

  • Jira Automation has service limits and usage-based billing:
    • every trigger, condition, action, branch and loop that runs counts as a step; extra steps are billed from 3 December 2026 (Atlassian );
    • there are limits on concurrent runs and processing time;
    • a web request waits at most 30 seconds for the answer (Atlassian ).
  • Compensation is not executed: Flower BPM does not run BPMN compensation events. Undoing a step is a path you model, for example after an error boundary event.

A common setup combines both: a technical engine runs the high-volume service chain, and Jira & Flower BPM orchestrates the business process around it, where people decide and the outcome matters to the organization.

On Jira Data Center, throw events and automated tasks call a webhook of your service directly, and services answer through the REST API of Flower BPM. See Limits and Host Differences.

Next in the series · Part 4
Agentic Orchestration in Jira: AI Agents as Steps of a BPMN Process →

How Rovo agents do steps of a BPMN process, with a gateway on their answer, a time limit and a person who takes over.

Frequently Asked Questions

Is Jira a microservice orchestration platform?

Not on its own. Jira manages work items. With a BPMN engine such as Flower BPM and Jira Automation as the bridge to your services, Jira orchestrates the services and AI agents of a business process together with the people in it.

How does a service send a result back to the process?

Either directly in the same rule, from the answer of the web request (Flower: Complete automated task), or later through a callback: an incoming webhook or a comment starts a rule, and Flower: Send message to process delivers the result to the waiting instance.

Can a process call services in parallel?

Yes: a parallel gateway starts several automated tasks at once, and a joining gateway waits until all have answered.

What happens if a service does not answer?

A timer boundary event on the automated task takes the timeout path, for example a work item for a person or a second attempt. Timers in Flower BPM count in days: the timer job runs once a day, see Timer Events.

How do AI agents fit in?

See part 4: a Rovo agent does a step, a gateway decides on its answer.

Start your free trial of Flower BPM

Last updated on