Thanks Jason. I'm brand-new to mulesoft and working out a study strategy whilst doing the Trailhead modules in Salesforce. Great explanation of this concept thankyou.
Can anyone help me with this..The following Json object has multiple arrays which has multiple object in it. Using dataweave we need to extract the common objects of all arrays based on 'id' key. The extracted output may be in any format. Input: { "userslist1":[ { "username":"", "id":12 }, { "username":"", "id":13 }, { "username":"", "id":19 } ], "userslist2":[ { "username":"", "id":12 }, { "username":"", "id":14 }, { "username":"", "id":13 } ], "userslist3":[ { "username":"", "id":12 }, { "username":"", "id":15 }, { "username":"", "id":13 } ] }
How is posible to make lower case keys and values in json payload then values can be array? if no arrays then its: (lower $$) : (lower $), but cant find example for arrays
This can be achieved in Mule 3.7/8/9 using Mule requestor connector , by default it will not be available , we have to install ..so that you can read file in the middle of flow execution
Hi jason, I have employee data(first name,last name,age & etc) in XML but i need to retrieve the data based only the last name. input sample: john reddy kamal reddy babu naidu I need to retrieve the elements based on the lastname,lastname having reddy. How to retrieve this ?
Good video. One thing you didn't mention was how to give names to the $$ and $ generic variables. You could have used this: map ((index, element) -> { index: index, data: element }) or later in your video perhaps map ((index, person) -> { name: person.name, age: person.age }). This is not spelled out very well in the Mulesoft documentation, unfortunately, but there is an example usage with a paragraph to describe as the second example under the Map section ( docs.mulesoft.com/mule-user-guide/v/3.9/dataweave-operators#map) Keep up the great videos!
Someone who has been in doubt about the functional programming and dataweave map, and then you this video, makes it look so easy :) TY Jason
Thanks Jason. I'm brand-new to mulesoft and working out a study strategy whilst doing the Trailhead modules in Salesforce. Great explanation of this concept thankyou.
A precisely detailed video. and the explanation of the documentation was the best part for relevance. thanks a lot. keep up the good work.
Thank you for your feedback. I will try to incorporate it in upcoming videos :)
Can anyone help me with this..The following Json object has multiple arrays which has multiple object in it. Using dataweave we need to extract the common objects of all arrays based on 'id' key. The extracted output may be in any format.
Input:
{
"userslist1":[
{
"username":"",
"id":12
},
{
"username":"",
"id":13
},
{
"username":"",
"id":19
}
],
"userslist2":[
{
"username":"",
"id":12
},
{
"username":"",
"id":14
},
{
"username":"",
"id":13
}
],
"userslist3":[
{
"username":"",
"id":12
},
{
"username":"",
"id":15
},
{
"username":"",
"id":13
}
]
}
Thanks a bunch Jason. That was crystal Clear. Appreciate the genuine efforts
That was one of the best explained video of dataweave. Helped a lot to understand.
avdhesh pareek Glad it helped! Thank you for your kind words.
Great work, which is very helpful. Please continue doing this
awesome explanation of map operator
Exemplary is so good...Jason.
How is posible to make lower case keys and values in json payload then values can be array? if no arrays then its:
(lower $$) : (lower $), but cant find example for arrays
Great explanation...Could you please upload for mapObject too
Could you please explain how to read a file in the middle of the flow using Mule Requester.
This can be achieved in Mule 3.7/8/9 using Mule requestor connector , by default it will not be available , we have to install ..so that you can read file in the middle of flow execution
Thanks, Wel Explained
Perfect explanation!!
Great video.. Can you upload a video on Caching and Object Store also
Oooo that's a great topic idea, thanks!
Hi Thank you and also can you add video for How To Use Mule's Data Weave Pluck operator
Great explanation... Clear to the point. Thanks :-)
excellent .. I have no words ... awesome ...
Hi Jason,
Please upload more videos
Great tutorial!
Ryan Carter Thank you
Thanks for the excellent video
What is it with the red shoe? :D
Hi jason,
I have employee data(first name,last name,age & etc) in XML but i need to retrieve the data based only the last name.
input sample:
john
reddy
kamal
reddy
babu
naidu
I need to retrieve the elements based on the lastname,lastname having reddy.
How to retrieve this ?
{
Employees: payload.employees.*employee[?($.lastname == "reddy")]
}
@@sompankaj Tqs pankaj
Good video. One thing you didn't mention was how to give names to the $$ and $ generic variables. You could have used this: map ((index, element) -> { index: index, data: element }) or later in your video perhaps map ((index, person) -> { name: person.name, age: person.age }). This is not spelled out very well in the Mulesoft documentation, unfortunately, but there is an example usage with a paragraph to describe as the second example under the Map section ( docs.mulesoft.com/mule-user-guide/v/3.9/dataweave-operators#map)
Keep up the great videos!
Great!!! Thank you!!
Good one
Very helpful
Gold