Penstock

Guide / Every rule

Script task without a script format

The check engine/script-format, in the group Flowable and Activiti.

Error

Why it matters

The engine does not guess the language of a script, so a script task without scriptFormat cannot run.

How to fix it

Set the script format of the task, for example groovy or javascript.

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/script-format. 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/script-format to off in your .bpmnlintrc. See Validation.

Rule details

Idengine/script-format
GroupFlowable and Activiti
LevelError: the diagram or the process is wrong
Name in penstock checkengine/script-format

Read more: Validation. All rules: Every rule.