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
3
votes
1 answer

How to navigate a mutipart/form-data in Mulesoft 4.2 Dataweave 2.2?

I'm trying to get grab content out of multipart/form-data in Dataweave 2.2. I just want to send back the pdf from the second part of the payload. I am having no luck parsing through this payload using Dataweave. My dataweave code is simply…
Dale
  • 1,289
  • 3
  • 16
  • 36
3
votes
1 answer

How can merge branch into master in MuleSoft (Anypoint design center)

We have created multiple RAML file in Design Center (Anypoint Platform - Mulesoft). We are working in team so multiple users can edit that RAML file by creating separate branch. Now I want to merge those branches into master branch. How can I do…
MohammedAshrafali
  • 499
  • 3
  • 8
  • 22
2
votes
1 answer

raw is not working incase of retrieving the value form a variable in dataweave 2 mule

I'm just trying to convert the numeric values to strings without losing their decimal values, including zeros. This can be done using the raw operator in DataWeave 2.0. In below I converted a 123.0 numeric value to a "123.0" string value. But when…
Integraty_dev
  • 500
  • 3
  • 18
2
votes
0 answers

Mule 4 debug how to maintain history of debug statements in studio

In Mule 4 anypoint studio when I am debugging an application , many a times I need to view the payload in json format , so while in debug view I go here : Evaluate Dataweave expression Here everytime I have to manually paste the below dataweave: %dw…
boomslaw
  • 31
  • 4
2
votes
2 answers

Can we run Mulesoft Dataweave code in Java?

Is it feasible to run the Mulesoft dataweave script in Java using any open source libraries ? Mulesoft has announced its open source sometime back, but did not given further details of the libraries. https://blogs.mulesoft.com/news/dataweave/
Imrankhan
  • 31
  • 5
2
votes
1 answer

Mule Maven Plugin 3.8.0 not working as expected

When I am using mule-maven-plugin version 3.5.4 I am able to successfully build and run a project in anypoint studio but for the same project when I update the mule-maven-plugin version to 3.8.0 , it is raised an error, ${error.customerror.type} is…
Karthik
  • 2,181
  • 4
  • 10
  • 28
2
votes
1 answer

Mule 4 attributes.maskedRequestPath expected behaviour

The documentation says: Path computed from masking the listenerPath and taking the difference. Note that this is only calculated when the null otherwise. It seems this sentence is not complete so I am unsure of the expected value of…
Pierre
  • 51
  • 8
2
votes
1 answer

Unzip files in Mule 4

I have a requirement to unzip file. Currently this is done in Java code in Mule 3.x, but need to unzip file in Mule 4, how we can achieve this in Mule 4? Tried to use same Mule 3 Java code in Mule 4 but some of the methods/functions are not…
2
votes
1 answer

Accessing multiple files in a multipart request

Most of the documentation in Mule regarding multipart relates to making a request and not processing an incoming request. I'm looking to receive multiple files in an incoming request as an array and then loop through them to upload to another…
Matt P
  • 147
  • 1
  • 6
2
votes
2 answers

How to flatten nested JSON arrays to single array object

I have 50,000+ json objects buried in nested arrays. I want to pull them out so that they can be in single array. Also these nested arrays are quite random having no pattern. E.g [ [ [ [ [ {"a":1 } ], [ {"b":2 } ] ], [[{"c":3 }]] ] ], [{"d":4 }]…
2
votes
1 answer

How to deploy Mule application jar file in Runtime Fabric with Anypoint Runtime Manager REST API without going though Anypoint Exchange

I want deploy a jar file which is availble for me in my pc to RTF Mule server managed by AKS.I want use ARM rest api. curl --location --request POST 'https://anypoint.mulesoft.com/hybrid/api/v1/applications' \ --header 'x-anypnt-env-id: e21c3d'…
2
votes
1 answer

mule 4 http listener - reconnection when to use?

Using mule 4.4 runtime community edition on premise Am trying to understand HTTP Listener better and came across this attribute: Reconnection Documentation says: When the application is deployed, a connectivity test is performed on all connectors.…
2
votes
1 answer

Uploading image/pdf to slack channel using Mulesoft Slack Connector

i'm trying to use the mulesoft slack connector to upload a pdf file and a png file to a slack channel but i'm not able to configure the settings correctly to make this work. Has anyone been able to do so successfully? Here is my transform message…
2
votes
2 answers

Mule condense data based on a category

Example below. I've got a set of account numbers, with an account attribute. For each account_number there are three categories, and I would like the sum for each account number based on each balance in DataWeave. Data input [ { …
anonMule
  • 91
  • 2
2
votes
1 answer

How to group a JSON dataset by two properties and sum the value in dataweave?

I have a data set which I am trying to group by two separate keys, but nested. I have tried to use the groupBy method but I am then having a hard time with the sum within the keys. I have also tries to use the pluck method but that also seems to…
anonMule
  • 91
  • 2