Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Sumo
127
Views
1
Comments
Join results of an Aggregate with results from an Action
Question
SQL
Forge
Logic
In my application, I have an entity that performs a mapping. This application also has an Action that returns a list of values that can match a field in the entity. I want to be able to join these to result sets together like a SQL join, but have been unable to do so. In typical C# code, I can join two lists using LINQ.
To visualize my contrived example. Each below can return many items, but the list returned from Action can have matching Groups. The output of this "join" would be similar to an inner join. I only want to return Roles from the Entity that have matching Groups. I can think of a way to do this with a ForEach, but that seems slow if these lists get large.
Entity:
Group
Role
Action:
Group
Nuno Rolo
MVP
Hi,
You have the ListAppendAll to save the ForEach, but you need to have both lists with the same structure (same entities).
Hope that helps.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...