Skip to main content
Skip table of contents

LogConditional

Logs a message to DPE logs if a specified condition is true.

Properties

Input

NameDescription
MessageMessage written to log.
LevelLog level: Error, Warning, Info, Debug.
CategoryCategory, always use "Workflow".
ComponentComponent
ConditionMessage is only written when condition evaluates to True.

Recommendation

Do not change the Category value, always use "Workflow"

Example usage

  1. Have a workflow argument Verbose initialized with False.
  2. Assign it to property Condition of each LogConditional.
  3. Logs would only be written when the worfklow argument is set to True from the caller.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.