Lets say you have an array and you want to take the first element of it. can you do this via expressions. In the below example im printing it in a teams chat.
Logic Apps: selecting the first element of an array
60 Views Asked by HarriS At
1
There are 1 best solutions below
Related Questions in AZURE-LOGIC-APPS
- Logic Apps and long running Azure Function (Powershell)
- logiapp teams api connection terraform user sign in
- Logic App Function App reading and writing Binary Files
- String to Array via expressions
- How to set up the link for the paginated files in the Get Rows(V2) Logic App connector and pass it via Azure API call?
- How to prevent o365 API connection from becoming invalidated from expired access token when using azure logic apps send email action
- Logic App to check the Azure blob container for new files and send email notification
- Logic app to list the subscriptions under my management group and list them one per row, with tag values as columns
- How to read agent application data to azure sql using apim and logic apps
- Liquid Template - How to map JSON object as a string to output field
- Automate file uploading from Sharepoint to Azure Storage Container
- Enabling minimum apiVersion to 2021-08-01 in Azure API Management causing saving issues or deployment errors for existing logic apps
- Logic app blob trigger retry policy not working for 503 error
- Logic Apps: selecting the first element of an array
- How to extract all the Document Libraries and Page libraries from a SharePoint site with logic App
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

Yep, use the
first()expression ... https://learn.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#firstSimply pass in your array and it will work ...
... or, use the more programmatic approach ...
... noting that array indexes start from 0.
Tip: Press the
See morebutton next to theCollectionnode in theExpressionwindow as you've shown.