# 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 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm