Why Obj-Browse with value only is not fetching the value of property?

I am trying to fetch to EmpID based on Value Only but its not returning any value of EmpID,why?

@TanyaS58

Is the property exposed? Is it working if you provide any input in the Logic field?

Hi @TanyaS58,

As of my understanding, by using Obj-Browse will fetch all results from that class you given. While I’m doing same thing what you done, its working properly for me. Please see the attached image.

@Sai Guggilla will this value only condition also fetch any unoptimised property?this i am asking in general not related to this doubt

@TanyaS58

The Obj-Browse method only works with properties that are exposed as columns.

If the property is not exposed as a column, including embedded properties, it will not be fetched when using Obj-Browse with value only.

@TanyaS58 - Reason might be that EmpId has no value within the class instances.

Regards,

Bharat

@TanyaS58

Obj-browse fetch all properties only . To check that use case inside Activity methods
inside the filter condition also if u will try to give any unoptimised property it will not accept that.
To explain this - Obj-Browse can also not filter on properties which are not optimized. But if you select a property that is not optimized, it will read the entire BLOB.
also when u will use report definition here - Report Definition does not read the entire BLOB but return scalar properties back if you reference unoptimized properties

TO UNDERSTAND THIS Only properties exposed as columns can be used as selection criteria. However, values of properties that are not exposed as columns, including embedded properties, can be returned.

@TanyaS58

The Obj-Browse method only works with properties that are exposed as columns. If the property is not exposed as a column, including embedded properties, it will not be fetched when using Obj-Browse with value only.

Please, find the Screenshot for your reference.

In the image (7), image(8) i have used getcurrenttime and endtime which are unoptimised properties to fetch but it is not showing the values in the clipboard

If you try to add filter condition for unoptimized properties it will show the error as shown in the image

@SohamM95 yes the property iis exposed but unfortunately its not having anay value on the clipboard so thats why not fetching.

@TanyaS58

Yes it will fetch the unoptimized property value also.

@TanyaS58

Run a report on the same class and see if the values are being fetched or not. If not then there are no instances present with EmpID value.

@KOMARINA yes i cross checked this was the reason.