bytechefhq / bytechefhq/bytechef

[component] List Helper

Open
#2,416 0 comments 0 reactions 0 assignees View on GitHub
backend enhancement workflow-component
Dominant language
Java
Stars
1k
Forks
170
Avg merge
11h 25m
Merged PRs (30d)
115

Description

As a Workflow Developer
I want to be able to use the native List Helper connector
So that I can implement more complex integration use cases where the connector is involved.

Acceptance Criteria

List of implemented actions:

- [ ] Add item to list
Adds an item to the end of a list. If the list doesn’t exist, a new list with the item is returned.
- [ ] Add multiple items to list
Adds multiple items to the end of a list. If the list doesn’t exist, a new list with the items is returned.
- [ ] Chunk
Splits a list into smaller lists (chunks) of a specified size.
- [ ] Concatenate
Joins two lists together, adding all items from the second list after the first.
- [ ] Contains
Checks if a specified item is present in the list. Returns true if found, false otherwise.
- [ ] Count items
Counts the number of items in the list.
- [ ] Delete items from list
Removes all items from a list that match a given condition.
- [ ] Difference
Returns items from the first list that do not exist in the second list.
- [ ] Filter
Filters a list of objects based on specified conditions.
- [ ] Find object in list
Finds the first object in a list that matches specified fields.
- [ ] First
Retrieves the first item in a list.
- [ ] Get item by index
Retrieves the item at a specified index in the list.
- [ ] Get list of page numbers
Generates a list of page numbers based on total items and items per page.
- [ ] Get numbers between
Generates a list of numbers between a specified minimum and maximum, inclusive.
- [ ] Get unique items by key
Returns a list of unique objects based on a specified key, removing duplicates.
- [ ] Intersection
Returns items that exist in both provided lists.
- [ ] Iterative transform
Applies transformations (e.g., capitalization) to each item in a list.
- [ ] Join
Joins all items in a list into a single string, separated by a specified delimiter.
- [ ] Last
Retrieves the last item in a list.
- [ ] Pluck
Extracts the values of a specified key from each object in a list, returning a flat list of these values.
- [ ] Remove duplicates
Removes duplicate items from a list, ensuring each item is unique.
- [ ] Rename keys
Renames specified keys in each object within a list.
- [ ] Reverse
Reverses the order of items in a list.
- [ ] Rotate first item
Moves the first item in a list to the end.
- [ ] Simple sort
Sorts a list of strings or numbers in ascending or descending order.
- [ ] Slice
Creates a sublist from a list, based on specified start and end indices.
- [ ] Sort objects
Sorts a list of objects based on a specified key and order (ascending or descending).
- [ ] Zip
Combines two lists—one of keys and one of values—into a single object with corresponding key-value pairs.

Definition of Done:

- [ ] Unit/Integration tests
- [ ] Documentation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.