Develop > Document Engine > Troubleshooting overview > Print values of variables or results of expressions

Print values of variables or results of expressions

In the Document Engine, the path through a work flow is often determined by the value assign to a field or variable. To determine the value assigned to a field or variable that influences the work flow, use the JavaScript print() function or use the log rtecall ($L.void=rtecall(“log”, $L.rc, “message”) in the RAD expressions. The message can be a concatenated string such as

$L.message="The value of $L.test is " + $L.test

where $L.test is a variable that was assigned a character value.