Issues finding variable origin

Hello,

I just got my hands on a large Studio (V2021.10.10) automation flow and I stopped at an activity that uses variable dtVendorRecords. I am not sure what this variable is, so I tried locating activity that creates it.

Methods I tried:

  1. Opening variables and arguments panels. (Variable is not created through these panels as no value is populated in the “Default” field.
  2. Use the search bar and go to references. When searching, I use “All files” option. There were 10 results. 1 result was variable itself, other 9 results were references to where this variable is used. No activities to point me to how it is created.

I have a feeling this variable is created through some activity that gives multiple outputs and it’s origin might be visible in “Properties” panel, but flow is so big, I do not want to go through each activity to find it, unless I have to.

What good practices are there to locate such variable origin?

Reference panel:

Hi @dovydas.valancius,

You don’t have to go through each activity, just find the “Read Range” activity inside Main.xaml with this sequence:

image

Probably, the activity looks like this:
image

Then, check the output of that activity in properties.

Or just type Ctrl+F and type Read Range to find that particular activity.

Juan P.

1 Like

Read range indeed has generated “dtVendorRecords”, I guess I should know what activities generate what outputs to quickly find it on my own.

Thank you.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.