Skip to main content
Skip table of contents

Working with the Action Script Editor

The xUML Action Language is case sensitive. Every statement must end with a semicolon. Operations, functions, and macros of the action language are highlighted (see Highlighting in the Action Script Editor for details).

To open the Action Script Editor, use quick action Open model of the corresponding Action Script operation:

as_open_editor.png

The editor will open in a new tab and you can start entering your Action Script:

To create an Action Acript statement, for instance a create assignment statement, start by typing the create keyword. All available statements matching your input are listed:

Add a semicolon to finish the statement:

You can also select one of the listed statements to use it:

The statement is transferred to the editor. Placeholders indicate where you need to adapt the statement. For an easy editing, use the tab key to switch between placeholders:

The Toolbar

The action script 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

Jump to the related Action Script operation in the service panel.

toolbar_documentation_icon.png

Use this option to open the Action Script Language documentation.

Highlighting in the Action Script Editor

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

Color

Content

Blue

Action Script Keywords (for a list of reserved keywords see Basics of the Action Script Language > Reserved Keywords)

Red

Constants

Maroon

Strings (single- and double-quoted)

Green

  • Integer

  • Float

  • Comments

JavaScript errors detected

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

If this problem persists, please contact our support.