Skip to main content
Nintex Community Menu Bar
Question

K2: View Environment variable value for running process / workflow

  • August 28, 2024
  • 6 replies
  • 109 views

Forum|alt.badge.img+1

Hi, we have a workflow with an environment variable called “MyWorkflows URL”. this environment variable is used in multiple workflows. I want to check for completed processes / workflows the value for this environment variable. 

Question 1: Where I can check the environment variable value for a completed process?

Question 2: Is there something like a change log for environment variables?  

6 replies

JRoberts
Nintex Employee
Forum|alt.badge.img+12
  • Nintex Employee
  • August 28, 2024

Hello!

You can use the Process Instance Data Audit Report. I believe that this information should appear in that area for you. 

 

Jason


JRoberts
Nintex Employee
Forum|alt.badge.img+12
  • Nintex Employee
  • August 28, 2024

Process Instance Data XML Audit Report is an additional option for review.


Forum|alt.badge.img+1
  • Author
  • Novice
  • August 28, 2024

Thanks for your response Jason! Unfortunately I can’t find environment variable values in the process instance data audit or the xml report. Do you have another idea?


JRoberts
Nintex Employee
Forum|alt.badge.img+12
  • Nintex Employee
  • August 28, 2024

Ahh, right. One option that you could take is to create a SmartBox SmartObject and use that SmartObject’s create method to write the current values for those variables at the start of a workflow instance. This would basically be a logging table for environment variables. Associate the record to the workflow/instance and then create a view around that. You would then put that SmartObject call in the workflows in places where you want to see what they’re set to at runtime. 


JRoberts
Nintex Employee
Forum|alt.badge.img+12
  • Nintex Employee
  • August 28, 2024

However, keep in mind that those values are meant to be secure/less visible at runtime out-of-box, so if you want to expose them through a form, consider securing that form down based on your use case.


Forum|alt.badge.img+1
  • Author
  • Novice
  • August 29, 2024

Thank you Jason for your support!