cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
King
Advocate III
Advocate III

create an object from an array

I have an array type variable that is composed as follows

[
{
"Email": "Example1@mail.com"
},
{
"Email": "Example2@mail.com"
}
]

I want to turn this into an object to receive emails as follows

 

in a composition:

variables ('Array')? [Email]

 

and be able to receive emails

Example1@mail.com
Example2@mail.com

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @King 

 

Can you share more details? 

 

The composition that you have shared is already an array of objects and each individual item of the array (email) can either be accessed by indexes or you can use an apply to each loop and then compose individual items by accessing the current item. 

 

If you can share more details on the scenario you are trying to build, we might be able to assist you better with this one. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
yashag2255
Dual Super User II
Dual Super User II

Hi @King 

 

Can you share more details? 

 

The composition that you have shared is already an array of objects and each individual item of the array (email) can either be accessed by indexes or you can use an apply to each loop and then compose individual items by accessing the current item. 

 

If you can share more details on the scenario you are trying to build, we might be able to assist you better with this one. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (88,560)