Execute Code
  • 23 Aug 2024
  • 1 Minute to read
  • Dark
    Light

Execute Code

  • Dark
    Light

Article summary

General

This type of action can be used to execute code (e.g. a method contained in a Global Module or a Module of a Report.

Properties

This type of action has the following properties:

Name

Description
CodeAn Expression that contains the code to be executed.

Example

Suppose you have created a Global Module that contains a function named WriteDebugFile; that function takes a single string parameter and writes that string to a file in the file system. The following Expression can be used to call that function to write the string Hello World to a file:

Mail & Deploy Expression

WriteDebugFile("Hello World")


Was this article helpful?

What's Next