Genpact Cora Knowledge Center

Support

Add Custom Messages to Application Log Files

V11.2

Overview

As a workflow developer, with the Write Custom Logs built-in command activity, you can add logical errors and workflow‑specific events to the application logs without relying on the custom code or external DLLs.

Procedure

  1. In the Admin site, open the workflow in which you want to add the built-in command.
  2. In the workflow, add the built-in command activity.
  3. In Process Operations category, select Write Custom Logs.
  4. Click Next.
  5. Add Input parameter bindings.
    • message: The message to be written to the application log.
    • logLevel: The logging level from the following existing platform logging levels.
      • Verbose
      • Debug
      • Information
      • Warning
      • Error
      • Fatal


  6. Click Finish.