Penstock

Guide / Every rule

Service task with nothing to run

The check engine/service-task-implementation, in the group Flowable and Activiti.

Error

Why it matters

A service task without a class, an expression, a delegate expression or a type has nothing for the engine to call, so the deployment is refused.

How to fix it

Set one of class, expression, delegateExpression or type on the service task.

Where you see it

The Problems tab lists it under Engine, the editor marks the element on the canvas, and penstock check reports it as engine/service-task-implementation. It runs on diagrams of the Flowable and Activiti profiles, and checks what those engines ignore or cannot run. This check is free.

To turn it off, set engine/service-task-implementation to off in your .bpmnlintrc. See Validation.

Rule details

Idengine/service-task-implementation
GroupFlowable and Activiti
LevelError: the diagram or the process is wrong
Name in penstock checkengine/service-task-implementation

Read more: Validation. All rules: Every rule.