Description

Logs a message on the Output Panel with an option to the show it under Trace, Info, Warning or Error level.



Attributes

Input

  • Level - A dropdown menu in which you can choose whether to display the message in the Trace, Info, Warning, or Error.

  • Message - The message that will be displayed.

Misc

  • DisplayName - Renames the activity.


Example

  1. Add a Log Message activity inside the Workflow area.


  2. Declare a String variable and name it as "message" with a default value of "This is an error message".


  3. Select the Log Message activity then choose Error under the Level dropdown selection. Afterwards write message on the Message input box.

     

            The use case should look like the following screenshot.




            The output should look like this in the Output panel, specifically in the Trace level: