Skip to content

Log Variables

Nate Weisz edited this page Sep 30, 2015 · 1 revision

Logs the process variables to log files. This can be used as a debug task in the workflow.

Delegate Class

org.finra.dm.service.activiti.task.LogVariables

Input Parameters

Name Required Accepted Values Default Value Case Sensitive Description
regex N A regular expression that determines whether a process variable will be logged.

Sample Usage in Activiti XML

<serviceTask id="logVariablesServiceTask" name="Log Variables" activiti:class="org.finra.dm.service.activiti.task.LogVariables">
   <extensionElements>
      <!-- Only log variables that contain the text "Attribute Name 1" within variable name -->
      <activiti:field name="regex" stringValue=".*Attribute Name 1.*"/>   
   </extensionElements>
</serviceTask>
Clone this wiki locally