Extensions.ExternalServiceProvider.Service

From emotive
Jump to navigation Jump to search

Classification

Name Service
Short Description A handle to a running service
Class Complex Data Type
Base Data Type ComplexType
Default Value Empty
Provide a Literal No
SpecifiedBy ISO 13209-4
Standard Compliant Yes

Description

The OTX OTX ExternalServiceProvider Extension extension introduces a data type named Service. The new Service type is a handle to a running service. If the ExecuteService action is called the service handle is given back in a variable. When the ExecuteService is used with executeAsync attribute set to true, the only way to be notified that the service has finished is to use the ServiceExecutionFinishedEventSource term.

Core Conversion

The following table shows the rules for conversion to another data type:

Conversion Result Sample
ToBoolean Undefined (should not be used)
ToInteger Undefined (should not be used)
ToFloat Undefined (should not be used)
ToString Returns the name of the screen resource String s = ToString(service1); // Returns "serviceName"
ToByteField Undefined (should not be used)

Sample

ExternalServiceProvider.Service service1;