Skip to content

Custom LBO#

The task Custom LBO is used to call custom services registered in the MES.

taskiconcustomlbo1

Inputs#

Name Data Type Values Description
ignoreLastServiceId Boolean A Flag to ignore or not the last service Id
numberOfRetries Integer The number of times the service tries, before failing
serviceComments String Comments that can be added to the service call
Activate Any Activates the task execution

Outputs#

Name Data Type Values Description
message String Reply message received after the service was called
feedback message Object Reply feedback message received after the service was called
Success Boolean If there was no problem emits a true
Error Error Error that occurred during the processing of this task

Settings#

On the General Tab, you have the usual settings and the following options settings:

Name Data Type Values Default Description
Type String The type of the service the task will call. Example: Cmf.Custom.Customer.Orchestration.InputObjects.LoaderIn, Cmf.Custom.Customer.Orchestration
Method enum POST
GET
POST The type of HTTP method the user will be calling, if he is sending data to the MES (POST) or if he is querying the MES for some data (GET)
URL Suffix String The URL to use for REST calls to access the service. Example: api/MESAutomation/LoaderIn
Ignore Last Service Id Boolean False A Flag to ignore or not the last service Id
Number of retries Integer 10 The number of times the service tries, before failing
Service Comments String Comments that can be added to the service call

taskiconcustomlbo2

On the Inputs Tab, you have the following options settings:

Name Data Type Values Default Description
Name String String "Not specified" Name of the service output value
Property Name enum String Type of the service output value
Type enum Long
Decimal
DateTime
Boolean
String
Integer
...
Type of the service output value
Collection Type enum None
Array
Map
The Collection type of the service output
Default Value String Default value for the service output value

taskiconcustomlbo3

Behavior#

The task is used to call custom services. In order to do this, the task has a few standard inputs and outputs, but more importantly, the task enables the configuration of a set of input and output values that are going to fed and retrieved, respectively from the service.

This task removes the need to create a custom task whenever there is custom MES service that the ConnectIoT layer needs to interact with. It abstracts the call api, so we only need fill the input object we wish to send and the correctly define what we are expecting to receive in the reply.

Remarks#

There is no particular remark to be made.