Questions tagged [mulesoft]

This tag is not clearly aligned with a specific MuleSoft product. If the question is related to the Mule ESB or Mule Runtime product please use the mule-esb tag instead.

MuleSoft is a company name, not a product.

MuleSoft was acquired by Salesforce in 2018.

MuleSoft produces the Anypoint Platform, which consists of:

  • Anypoint Exchange
  • Anypoint Security
  • Anypoint Analytics
  • Anypoint Studio
  • Mule runtime engine
  • etc.
1619 questions
0
votes
1 answer

Accessing multiple xml records one at a time in mule 3.9

Hi All. I need to access xml record one at a time for which I first converted XML file to Java, then iterated the payload using for each and inside declared flow variable to access the xml record. In doing so, I am just getting the last xml record…
Rashi Goel
  • 33
  • 7
0
votes
1 answer

Mule 4 secure property placeholder not working

This is my config where i have defined my properties file ie dev.properties which has some encrypted values. I have defined my secure property placeholder but its not working
0
votes
1 answer

Parsing CSV file and get a value of the filed from it

Question regarding Mule 4 and DWL syntax. I have a file listener that is expecting a csv file. let say the file is in this format value1, value2, value3, value4 Then I have a "var" message processor and in there need to assign the value of value3…
borna
  • 906
  • 3
  • 12
  • 32
0
votes
1 answer

I am trying to do a group by with two fields and sum but can not seem to be able to make it work for me. Any help would be much appreciated

I want to transform XML to JSON below are my details and requirement. I have below XMl:
0
votes
1 answer

How to pass payload to Javascript component in Mulesoft?

How to get all the payload from http post to Javascript component in Mulesoft?
San
  • 307
  • 1
  • 3
  • 18
0
votes
1 answer

csv to json conversion where some tags may not come in random

I have a csv input like below: Notice that the tag Edible is not coming for the second set of values. Also notice that the data for one object is coming in columns as well as three…
0
votes
1 answer

How to implement group by in Dataweave based on first column in CSV

I have an incoming CSV file that looks like this (notice that the first field is common - this is the order number) 36319602,100,12458,HARVEY NORMAN, …
0
votes
1 answer

How to only include a key if the value meets a certain criteria

I have this piece of Dataweave code list_of_orders: { order: payload map ((payload01 , indexOfPayload01) -> { order_dtl: "" when payload01[30] == "S" otherwise "" when payload01[30] == "C" otherwise …
0
votes
1 answer

Nested Loop to generate a json array

I have a requirement to enter two objects in a json array for each object in the input. I wrote the following code to do so: %dw 2.0 output application/csv var categoryList = ["Business","Authorization"] --- payload…
0
votes
1 answer

MEL Expression for filtering the value of a Variable

I have stored a value in a Variable. Its an ID, it looks like this 1-2823596-1 or CAT-R131-L6267. Now I need to write an expression which filters this ID based on the first value of the ID(i.e if it's number or alphabet). According to that I will…
0
votes
0 answers

Mulesoft Anypoint Platform: what to put in the "content" section of sftp write connector general configuration

Using Mulesoft Anypoint Platform: I have a use case where the request is to download a csv from azure blob and upload the same file to a sftp server. The problem arises in the sftp connector (write), at the last step, which is the actual upload to…
0
votes
1 answer

"How to group xml data in Mule3 anypoint studio"

I am doing the transformation from json to xml then have to group by department. I am using mysql database to get the employee and it's department. At the last transformer I have to group by Department. This is my json that I am getting from…
Devendra
  • 219
  • 2
  • 22
0
votes
0 answers

Calling soap requests in batch using Mulesoft

I am trying to call a SOAP webservice deployed on Salesforce platform using mulesoft in batch format and I am unable to do that. I have a scenario where I want to schedule the soap call invocation in batches. My input is a scheduler and processor…
RSharma
  • 120
  • 7
0
votes
1 answer

Creating a resulting array with unique values in dataweave

Need to compare two arrays efficiently and create a third array with values that are only in the second array using Dataweave transformation in mule. I wanted to use the negation of contains the keyword in mule. But it was giving errors. Hope that I…
ghoshyTech
  • 63
  • 1
  • 8
0
votes
1 answer

dataweave expression to map json to flat file

Im new to mulesoft, trying to extract database to a flatfile via json in mulesoft. Please help in writing dataweave expression for converting json payload to flatfile. and my flat file schema is: With the above I'm getting exception like:
1 2 3
99
100