Hi,
I need guidance to fetch each Asset values from the array variable Asset as defined below.
Can someone help how can I get the asset values from the variable ? I need to save the each item from the array variable in an compose action.
Announcements
Hi,
I need guidance to fetch each Asset values from the array variable Asset as defined below.
Can someone help how can I get the asset values from the variable ? I need to save the each item from the array variable in an compose action.
Hi @Prathameshpatka,
In that case you can use the <br> html tag as a separator instead of the , character.
Try and add the below via the expression tab:
join(variables('Asset'), '<br>')
I basically need to have the asset value separated out as I want them to be displayed one below the other in the message I hit on the channel . Right now in the message post it is displaying as below :
Hello @Pro Please find a link for latest Incoming Information for Project W from: WSP. Asset: ["M0000-Monolith","P0100-Adventure Centre","P0000-Plateau Assets","P0500-Destination Spa"]
I need to display it as below :
Asset: ["M0000-Monolith",
"P0100-Adventure Centre",
"P0000-Plateau Assets",
"P0500-Destination Spa"]
Hi @Prathameshpatka,
If you are append the items they should all be there in the Asset variable (outside the loop).
You can for example join them together with a comma character as text (string value).
Try this expression in the compose action (outside the apply to each loop)
join(variables('Asset'), ', ')
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1