AI and systems
Which human gates to write before workflow automation
Before workflow automation, write which steps may finish on their own, which steps must wait for a person, and how a stopped run returns to the path people already use. Mark payment, master data, and outbound messages as steps a person completes. While those three have nobody who can claim them, keep the automation out of this demo.
On this page
- 1From intake to handoff, mark each step as a person or a service
- 2The notation names three task types, two of them with a person
- 3A service step is one the rule already allows, and that leaves money and master data alone
- 4Payment, master data, and outbound messages stop for a person
- 5After a claim, the next step is named on the gate list
- 6When the engine does not track completion, a person writes it
- 7A rejection or a timeout returns to the path people already use
- 8Hand the stretch to automation once claimants and the return path are named
Matching serviceWorkflow agents
From intake to handoff, mark each step as a person or a service
From intake to handoff, each step has to name the step, whether a service finishes it or a person does, who may claim it, and where the flow goes after the person finishes or rejects it. A step whose claimant has no name stays on the path people already use, off the automated path.
A flow has to meet systems you already run, or the gate has nowhere to land. How that meeting is assessed is covered under Workflow agents. How a screen robot and an agent that pauses differ is covered in What is the difference between RPA and workflow agents. How a named product connects steps is covered in How to choose between n8n and Make. The work here is the gate list. A product comes after that list has names on it.
The notation names three task types, two of them with a person
BPMN 2.0.2 was published by the Object Management Group in January 2014, with status formal. The page says the notation is for the stakeholders who design, manage, and realize business processes, and that it is precise enough for a diagram to be translated into software process components. It also says the notation is independent of any particular implementation environment. The normative text is linked from that page under Normative Documents, file formal/13-12-09. Task names on the gate list follow that text, not the labels on one product's screen.
The specification describes a Service Task as a task that uses some sort of service, which could be a Web service or an automated application. Section 10.3.4 says human involvement is needed to complete certain tasks, and it specifies two task types with human involvement: the User Task and the Manual Task. A User Task is executed and managed by a business process runtime. A person performs it with a software application, and a software component called a task manager manages the task life cycle. A Manual Task is not managed by any business process engine. The engine does not track the start or the completion of such a task. The specification's example is a paper instruction for a telephone technician to install a telephone at a customer location. Potential owners of a User Task may claim it, and after claiming it a potential owner becomes the actual owner. The instance attribute actualOwner returns the user who claimed the task. A product that implements the notation keeps its package and its price on the vendor page. Copy the figures you see that day. The gate list is written without depending on a price list.
A service step is one the rule already allows, and that leaves money and master data alone
When the rule is already written, the step does not take payment, does not change master data, does not send a message to a customer or a supplier, and a service or an automated application can already be called, mark that step as a Service Task. On the same line, name the service, which record it reads, and which field it writes. Miss one of those and the step is not a service step yet.
When the rule is still unwritten, or the call would change payment, master data, or an outbound message, keep the step as one a person completes. The Service Task in the specification is a call to a service. An interface on its own is not permission to pay, or to send, with nobody having read it. If this demo is going to show a payment, the claimant's name has to be visible on the screen.
Payment, master data, and outbound messages stop for a person
Before automation starts, mark payment, a create or update of master data, and a message to a customer or a supplier as steps a person completes. Master data includes the customer, supplier, asset, and item records that later steps will reuse. Outbound messages include email, a short message, and a notice that will appear in the other party's system. On the gate list, keep the three names separate. Do not fold them into one line that only says “important”.
When you mark one of the three as a User Task, the runtime has to manage claim and completion. When you mark it as a Manual Task, write the completion record in the next section. Both need a named potential owner. With no name, leave the step off the automated path. This acceptance samples whether those three names are on the list.
After a claim, the next step is named on the gate list
After a potential owner claims a User Task, the specification says that person becomes the actual owner, and actualOwner returns that user. When the task is complete, the runtime manages the life cycle, and the flow continues at the next step. Write the name of that next step on the gate list. A finished step with no next name on the list has nowhere to go.
If the person rejects the case after claiming it, write the rejection back to a named field in the original system, such as an application status or a work-order result. A sentence in a chat that says “done” is invisible to the next step. The write-back is the same requirement as in What is the difference between RPA and workflow agents. The tool is not chosen again here. The field name follows the requirement that note already wrote down.
When the engine does not track completion, a person writes it
The specification says a Manual Task is not tracked by the engine for start or completion. After work on paper, or outside the system, a person writes a separate record: who finished, when, which case, and whether the result is accepted or returned. Without that record, the automated path has nothing to continue from. If this demo uses paper, a viewer has to be able to find those four items in the system.
Write that completion into the system and field named on the gate list. When the field does not exist in that system, stop, and add the field before the step resumes, in the same way as How to connect equipment to existing business systems. A completion time the engine does not track is written by a person into that record. The engine is not expected to supply it later.
A rejection or a timeout returns to the path people already use
When a person rejects the case, nobody claims it within the time you have written, or the step cannot be represented as a User Task in the runtime, the case returns to the path people already used before automation. That path names which record to open, who receives it, and whether a finished case re-enters the automated path. A blank among those three means a rejection has nobody to receive it.
The time limit comes from your own approval rule, with a date. The hours stay blank until that dated rule supplies them. The gate list does not invent a number of hours. When the manual path is unwritten, a rejection sits in the runtime, and nobody finishes the case the way it was finished before. This acceptance can walk one rejection on purpose, and see whether it returns to the path you named.
Hand the stretch to automation once claimants and the return path are named
When payment, master data, or an outbound message still has nobody who can claim it, or the manual path after a rejection is unwritten, leave the stretch from intake to handoff off automation. Write the gate list first. This demo walks the whole stretch only after those blanks are filled.
Hours saved belong on your own gate list. No workflow product is named here. The specification page was published in January 2014. This acceptance checks three things: whether every step is marked as a service or as a person, whether payment, master data, and outbound messages stop for a person, and whether a rejection returns to the manual path you named. Write the three checks on the last line of the gate list.
