0

I have a Get Item action to return list items. then I want to build a comma separated string for all the titles. I tried this:

join(outputs('Get_items')?['body/value']?['Title'],';')'

and this:

join(outputs('Get_items')?[Title],';')

but it did not work. any advice?

4
  • I don't think you will be able to do it using join function. You will have to do it using apply to each loop. Commented Mar 31, 2023 at 14:02
  • @GaneshSanap even if i try to use select? Commented Mar 31, 2023 at 14:12
  • You can use select to create an array in this format: ['Title 1', 'Title 2', 'Title 3']. Then you can use join function. Let me add one example in answer. Commented Mar 31, 2023 at 14:14
  • check below answer. Commented Mar 31, 2023 at 14:24

1 Answer 1

1

Use flow like this:

enter image description here

Expression in compose action:

join(body('Select'), ';')

Output:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.