Modeling Guide for SAP Data Hub

JavaScript Operator 2

The JavaScript Message operator allows you to execute JavaScript snippets within a graph using the vflow messages. It is based on the JavaScript operator and includes the code required to interact with the vflow messages.

Configuration Parameters

Parameter

Type

Description

codelanguage

string

The programming language used in the snippet.

Default: "javascript"

script

string

Mandatory. The inline script to be executed. If the script starts with "file://", then the script file is executed.

Default: ""

Input

None

Output

None

See example graph.com.demo.system.jsmengine.