Logging

Using this call only into Script connector, we can write in the “process” log, the errors or any type of information that comes from the script.

call Application.Log(“LEVEL", “STRINGMESSAGE”)

It accepts as parameters Level and your string message.

The levels allowed are:

  • 2 -> Information
  • 3 -> Details
  • 4 -> Warnings
  • 5 -> Errors
  • 99 -> Debug
call Application.Log(TYPE, LEVEL, “STRINGMESSAGE”)

Using this call for the picklists and triggers, we can write in the log (TYPE: 0 -> Application logs, 1 -> Network logs, 2 -> Process logs), the errors or any type of information that comes from the script.

It accepts as parameters Type, Level and your string message.

Level is exactly same values of the before call (integer, so without string quotes).

Previous Article

Variables