Logs a message to DPE logs if a specified condition is true.
Properties
Input
|
Name |
Description |
|---|---|
|
Message |
Message written to log. |
|
Level |
Log level: Error, Warning, Info, Debug. |
|
Category |
Category, always use "Workflow". |
|
Component |
Component |
|
Condition |
Message is only written when condition evaluates to True. |
Recommendation
Do not change the Category value, always use "Workflow"
Example usage
-
Have a workflow argument Verbose initialized with False.
-
Assign it to property Condition of each LogConditional.
-
Logs would only be written when the worfklow argument is set to True from the caller.