elsa-workflows / elsa-workflows/elsa-studio

Select Activity

Open
#684 2 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
301
Forks
181
Avg merge
17h 12m
Merged PRs (30d)
42

Description

We have a use case where we need to evaluate a list of components using an iterator, but the result is a list of evaluation results. While the current For activities allow us to iterate over the component list and perform individual evaluations, we have to generate and update the list of evaluation results ourselves in a very cumbersome and error-prone way. A Select activity would be helpful here, one that takes a list of typed objects as input and returns a list of typed objects as output, where the object type can differ between the input and output. This is analogous to SQL Select or LINQ Select.

Input:

Image

Output:

Image

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing For activities and the input/output examples in this issue. Compare the requested behavior with SQL Select and LINQ Select, then identify the activity entry points and tests used for iteration. Done means a Select activity accepts a typed list, evaluates each item, and returns a typed list whose element type may differ from the input.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.