Skip to main content
Skip table of contents

Working with the JavaScript Editor

This page describes the basics of the integrated JavaScript editor. To open the JavaScript Editor, use quick action Open model of the corresponding JavaScript operation:

js_open_editor.png

The editor will open in a new tab, and you can start entering your JavaScript:

To create a JavaScript statement, start by typing JavaScript syntax. All available statements matching your input are listed. You can also select one of the listed statements to use it:

The statement is transferred to the editor:

The Toolbar

The JavaScript editor features a toolbar in the center top of the editor:

Icon

Description

bpmn_toolbar_undo_icon.png

Undo the previous action you performed in...

  • ... one of the Designer editors (except mapping editor).

  • ... the Implementation folder of the service panel.

If you click Undo in one of the Designer editors, this may also have an effect on the Implementation folder in the Service panel if you performed your previous action there.

bpmn_toolbar_redo_icon.png

Redo your previous action (after undo).

bpmn_toolbar_go_to_icon.png

Click on Select in Service Panel to jump to the related JavaScript operation in the service panel.

toolbar_documentation_icon.png

Click on Go to documentation to open this JavaScript documentation.

Highlighting in the JavaScript Editor

The highlighting of keywords supports you during your work in the editor:

Color

Content

Blue

JavaScript Keywords

Red

Syntax errors

Maroon

Strings (single- and double-quoted)

Green

  • Numbers

  • Classes

  • Comments

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.