Customizing the Launch Status

When the service execution is performed from a custom integration, it might be useful that the service sends some custom information back to the integration while the launch is executed.

Sending from an execution custom information to the requestor of a launch can be achieved using the following code:


PropertySet launchStatus = (PropertySet) ScriptContainer.context.getProperty("launch.status");
launchStatus.setProperty("myProperty", "myPropertyValue");

This custom status information is serialized within the launch REST service response, so that an integration can provide additional feedback to the end-user about the current state of the execution.

Related concepts
Service

Related tasks
Adding Services
Integrating Launch