Skip to main content
Nintex Community Menu Bar
Question

K2: View Environment variable value for running process / workflow

  • Aug 28, 2024 12:16 PM UTC
  • 6 replies
  • 188 views
  • Translate All

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
  • Aug 28, 2024 2:02 PM UTC

Hello!

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

 

Jason

Translate

JRoberts
Nintex Employee
Forum|alt.badge.img+12
  • Nintex Employee
  • Aug 28, 2024 2:06 PM UTC

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

Translate

Forum|alt.badge.img+1
  • Author
  • Novice
  • Aug 28, 2024 2:21 PM UTC

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?

Translate

JRoberts
Nintex Employee
Forum|alt.badge.img+12
  • Nintex Employee
  • Aug 28, 2024 5:27 PM UTC

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. 

Translate

JRoberts
Nintex Employee
Forum|alt.badge.img+12
  • Nintex Employee
  • Aug 28, 2024 5:32 PM UTC

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.

Translate

Forum|alt.badge.img+1
  • Author
  • Novice
  • Aug 29, 2024 9:18 AM UTC

Thank you Jason for your support!

Translate