Out of the box, the platform offers the LogMessage server action.

If you don’t find it in your module’s Logic tab, click the Module Management button in Service Studio to open the Manage Dependencies window and add it.

Referencing LogMessage in your module

Using “LogMessage” in your action flows

Once referenced, you can use LogMessage in your action flows. It has two mandatory inputs: Message and ModuleName. They’re both text inputs.

The Message one is what you want to see in your environment management console (Service Center). You can log, 2000 characters at most!

The ModuleName can be your module name or action name or something else, so that you can easily distinguish different messages.

Action flow with LogMessage server actions

After running your action, if you want to see your messages go over to Service Center and select the Monitoring menu. Then go to General sub-menu. You can see all the seven messages that were audited. You can also filter by Module name.