86
Views
6
Comments
Solved
aggregate filter
Question

Hi All,

I have a server action in core where I want to check duplicates for Dealer number ,I am passing the dealer object with some other entity objects to the server action from screen.But to filter in aggregate I am not able to see dealer object if I drag dealer entity in source to put filter condition,But other inputs objects I can see.

Example 4 objects I am passing from screen to action,I can see only 3.

But If I filter some other entity for duplicates then I can see dealer object and input.

There is no variable duplication.

Please suggest

2021-03-18 21-03-15
Benjith Sam
 
MVP
Solution

Hi Ujwala,

I guess it is a confusion from the service studio tool because of the duplicate compound variable name within the same scope. If you observe, the input parameter variable name and the Aggregate Source entity name are the same i.e. Owner_Organisation. Becuase of this reason, you are not able to see & access the input parameter variable in the filter expression scope tree.

As a solution, I suggest you rename the input parameter variable name to Owner_OrganisationRecord, and then you will be able to see and access the same in the Aggregate filter expression. 


I hope this helps you!


Kind regards,

Benjith Sam

UserImage.jpg
Shreyansh Joshi

can you send some screenshot,  for the same.


UserImage.jpg
ujwala

UserImage.jpg
ujwala

cant see owner

2021-03-18 21-03-15
Benjith Sam
 
MVP
Solution

Hi Ujwala,

I guess it is a confusion from the service studio tool because of the duplicate compound variable name within the same scope. If you observe, the input parameter variable name and the Aggregate Source entity name are the same i.e. Owner_Organisation. Becuase of this reason, you are not able to see & access the input parameter variable in the filter expression scope tree.

As a solution, I suggest you rename the input parameter variable name to Owner_OrganisationRecord, and then you will be able to see and access the same in the Aggregate filter expression. 


I hope this helps you!


Kind regards,

Benjith Sam

UserImage.jpg
ujwala

Thank you Benjith,It is working now.

2021-03-18 21-03-15
Benjith Sam
 
MVP

You're welcome, Ujwala.

Glad to help you :)


Kind regards,

Benjith Sam

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.