Controller 25.2
Controller Reference

# addServiceStatus

This function generates a status event of the specified type, with the specified message body.

## Syntax

    service:addServiceStatus( type, body )

For example:

    service:addServiceStatus("Error", "Test action did not return success")

## Arguments

Argument | Description
--- | ---
`type` | (string) A status event of a specified type. You can use any string value as a type, but the default Controller statuses are Error, Warning, and Success.
`body` | (string) The body of the message.

Copyright 2015-2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Controller 25.2

Topic Title: addServiceStatus