Value Changed

Description

This object is being used to detect if a string 'Value Changed'.


App Builder Object


Source Code

function execute() { if (inPorts[0].value !== context.prev) { context.prev = inPorts[0].value; return [inPorts[0].value]; } return []; }

In Ports

Position

Name

Message Type

Description

Position

Name

Message Type

Description

1

Value

String

This port is being used to receive the message including the string value, which should be checked against for a change. Once another value will be sent to this port the internal context of the object will be used to compare the value. In case the value has changed it will send out the value.


Out Ports

Position

Name

Message Type

Description

Position

Name

Message Type

Description

1

Value

String

This port is being used to send out a message containing the string value if it has changed.


Properties

Name

Description

Name

Description

Object Name

The name of the object on the canvas.

Show Code View

The switch to turn on code view for the Code Object.

Duplicate code into custom Code Object