Search code examples
databasemuleconnectormule4

In Mule 4,how can I save the data I retrieve from database using database connector?


Suppose I retrieve a row having a particular id using database connector.If I have to save a particular field lets say name in a variable for later use.How can I do that?


Solution

  • A very crude example would look like the one below:

    enter image description here

    You would need to go to the advanced section under the DB connector and you can configure the script to obtain the column values in the Output section.

    enter image description here