Skip to Content
Flower BPM 3.8.0 is released 🎉 See what's new
Blog5 Who Decides

Deterministic Processes, Creative Agents: Who Decides in an AI Process?

Deterministic Processes, Creative Agents: Who Decides in an AI Process?

A complaint arrives on Friday. An AI agent drafts a friendly answer and offers a refund of 500 euros. The answer is good; the refund is above what the contract allows, and nobody was asked. A deterministic process would have asked. (A composite example.)

AI agents read a request, write an answer, plan a few steps and call a tool. What makes them useful is that they are not deterministic: give them the same request twice and the wording differs, sometimes the approach too. That is the creativity we want from them.

A business process needs the opposite. An approval must always reach the person who may approve. A request above a limit must always go to the second signature. An overdue case must always land on somebody’s desk. Nobody wants creativity in whether a contract is checked.

In short: let the process be deterministic and the work inside the steps be creative. A BPMN model fixes what happens next, who is responsible and which rule applies. AI agents and people are free in how they do their step. In Jira & Flower BPM, the model runs in Jira, people get their steps as Jira work items, Rovo agents do steps through Jira Automation, and gateways, decision tables, timers and error paths keep both within the frame.

Series: Orchestration in Jira, part 5 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
  4. 4Agentic Orchestration in Jira: AI Agents as Steps of a BPMN Process
  5. 5Deterministic Processes, Creative Agents: Who Decides in an AI Process? (this article)

What Does the Process Fix, and What Is Free?

Fixed frame, free steps: a BPMN process as a firm frame with a gateway, an error path and a timer. Inside it two free steps with a loose outline: the agent drafts, classifies and summarizes; the person judges, negotiates and approves. Locks mark what the process fixes: the rule that decides the path, the next step, the way out to a person, and the time limit

A process model is a contract about the flow:

Fixed by the process (deterministic)Free inside the step (creative)
Which step comes nextHow the step is done
Who is responsible: a lane, a team, an agentThe wording, the research, the judgment
Which rule decides the pathThe input the rule reads: a field, a label, a score
How long a step may takeHow the time is used
What happens when a step failsWhy it failed

None of this is new for people. A process never told a clerk how to write a letter; it told them which letters to write, by when, and who signs. AI agents fit the same frame. The new part is that the frame now matters more: an agent works fast, never tires, and does not notice by itself that it is out of its depth.

Is a Deterministic Process Rigid?

A fair objection: people are not deterministic either, and a process with timers and messages does not run the same way twice. True. What is deterministic is the rule set, not the timing:

  • The same inputs lead to the same path. A gateway with the condition “amount above 10,000” sends every such request to the second approval, today and next year.
  • Every path is in the model. There is no hidden branch in a prompt. What is not modeled does not happen.
  • Every process instance ends somewhere defined. An end event, an escalation, or a person who takes over. Nothing disappears.

This is what auditors, employee representatives and process owners ask for, and what an agent alone cannot promise.

Five Ways a Process Steers Agents and People

How each of these patterns is built in Jira, with the rule and the model: part 4.

1. The agent fills a field, the gateway decides

A Rovo agent classifies a request and writes its answer into a field of the work item, for example the label urgent. The gateway after the step reads the field and chooses the path. The routing rule stays in the model, where everybody can read it, and the gateway has a default flow for every answer nobody expected.

2. Fixed rules go into a decision table

Some decisions should not be creative at all: discount levels, approval limits, which team handles which country. A decision table (DMN) holds such rules in rows anybody can read, and a business rule task evaluates it when the process reaches it. The agent may draft the offer; the table says who must approve it. Modeling and testing decision tables works for everybody; running them in a process is part of the Advanced edition and of Data Center, with a 30-day preview. See Decide with Decision Tables.

3. A way out to a person

An agent that cannot decide should say so, not guess. An error boundary event on the agent’s step catches “cannot decide” and hands the request to a person. The rule of Jira Automation moves the work item to a status such as Needs human, and the process does the rest.

4. A time limit

A timer boundary event limits how long a step may take; timers in Flower BPM count in days. If the agent, a service or a person does not answer in time, the process takes the timeout path: a reminder, an escalation, another person.

5. An approval where it matters

The agent drafts, a person decides. A user task after the agent step puts the draft in front of the right person, as a Jira work item on their board. Which steps need a human signature is a decision of the process owner, written into the model, not a setting buried in an agent.

An Example: Customer Complaints

The same frame carries the onboarding of part 3; here it is a complaint, where a wrong answer costs money.

  1. A complaint arrives in Jira Service Management. The process starts.
  2. Agent step: a Rovo agent reads the complaint and sets a category and a severity. If it cannot tell, the error path sends the request to the service team lead.
  3. Decision table: the category and the customer’s contract decide the compensation range and who must approve it.
  4. Agent step: the agent drafts an answer within that range.
  5. Person: an employee of the responsible lane reviews the draft, changes it, and sends it. Above the range, a second approval is required.
  6. Timer: if the request is not answered within two days, it escalates to the team lead.
The complaint process with lanes Rovo agent, Service team and Team lead: the agent classifies the complaint, with an error boundary event cannot tell leading to Classify by hand for the team lead; a business rule task Compensation range evaluates the decision table; the agent drafts the answer; the service team reviews and sends it; a gateway Above the range? leads to a second approval by the team lead or to the end

The agent wrote two things and decided nothing on its own. The process decided everything, and the people decided what needed judgment. Every step is a Jira work item with its history, and the diagram of the instance shows where each complaint stands.

Why in Jira?

  • The people are already there. Approvals and exceptions land on the boards teams use every day.
  • Governance from Jira. Permissions, history and audit logs of Jira and Jira Automation apply to processes, rules and agents alike.
  • No AI of its own. The agent is Rovo, the AI of Atlassian, called by Jira Automation in your site. Flower BPM sends no content of your work items to an AI service, and on Jira Cloud it runs on Atlassian Forge.

Where the Limits Are

  • The process does not make an agent correct, and it does not let an agent plan. It limits the damage of a wrong answer and keeps the next step in the model. Check the agent’s output where it matters.
  • Jira Automation counts. The steps of an agent rule count as automation steps; the agent action itself uses Rovo credits (Atlassian ).

Where Is a Developer Platform the Better Choice?

If most steps of a process are calls between systems at high volume, if an agent should choose its own tools and next steps inside a process, if you need sagas with automatic compensation, or if the participants do not work in Jira, a developer platform for orchestration fits better. Jira & Flower BPM is built for processes of human work, with services and agents around the people.

This closes the series. One BPMN model orchestrates the process (part 1) and covers the building blocks of business orchestration that a team needs (part 2). It calls services and robots through Jira Automation (part 3), hands steps to Rovo agents (part 4), and keeps the decisions where everybody can read them: in the model.

Frequently Asked Questions

Are AI agents deterministic?

No. A language model can answer the same question differently each time. That is why the decisions that must be repeatable belong in the process: in gateways, decision tables and approvals.

What does deterministic mean for a BPMN process?

The same inputs lead to the same path, every path is visible in the model, and every process instance ends at a defined point. Timing can vary; the rules do not.

Can an AI agent decide which path a process takes?

It provides the input, the process decides. The agent writes a field, and a gateway with a visible condition and a default flow chooses the path.

How do I keep a human in the loop?

Model it: a user task after the agent step for the approval, an error boundary event for “cannot decide”, and a timer for steps that take too long.

Start your free trial of Flower BPM

Last updated on