and more in a single search tool across platforms. Read the announcement here. |
06/19/2023 04:40 AM
Hi,
Is it possible to print a variable value or any constant value in the logs through any of the available components of a workflow. If yes, kindly share the way to achieve it too.
Best Regards,
Varun
06/19/2023 06:45 AM
Please explain what you want to achieve with printing a variable in the logs ?
06/19/2023 08:23 PM
Hello @nimitdave ,
Just for debugging purpose, trying to print an object, or variables within an object to see whether the expected values are there in those objects or not.
Best Regards,
Varun
06/19/2023 08:53 PM
Its not possible. Check logs for variables & documentation
07/04/2023 09:15 AM - edited 07/04/2023 09:16 AM
Its not possible , but you can use a email attached in the approval workflow task and then print details in that email for all variables that are part of workflow and also exposed in email. Below expression will print all exposed variable in the email:
${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}
Also saviynt logs provide details on how the request flows as per the workflow defined.