2,002 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
67
views
How to suppress phantom errors in match operator using DataWeave 2.x
There is an inevitable error thrown when I use the DW 2.x match operator in what should be a pretty classic scenario.
Postulate that we have a String, an Array of String, and an Object.
Further, we ...
3
votes
2
answers
98
views
Adding the unicodePwd attribute to a new Active-Directory account with Mulesoft LDAP connector
I want to create an account in Active Directory(AD) with the LDAP Mulesoft connector. I can do his without a problem but it works ONLY when I don't submit the user password(unicodePwd). So the problem ...
-3
votes
0
answers
50
views
Payload return after bulk upsert in SAP HANA
I'm performing a bulk operation into SAP HANA, normally a table without duplicate values I would expect a return from the bulk update component, of a payload
[
1,
1,
1,
1,
1,
1,
1,
1,
...
0
votes
2
answers
83
views
How to send a literal time to a Salesforce Time field from DataWeave without timezone conversion?
I'm using MuleSoft to send data to a Salesforce custom object. My object has a field named Shift_End_Time__c, and its data type is Time.
My source system provides this time as a string in UTC format, ...
1
vote
1
answer
111
views
How to extract and clean JSON payload inside CSV field from multipart data in MuleSoft DataWeave 2.0
I am working in Mule 4 using DataWeave 2.0 and trying to transform a multipart/form-data payload that contains a CSV file.
Here is a simplified example of my input payload (multipart):
----------------...
0
votes
1
answer
124
views
MuleSoft DataWeave Date Time Formatting
Using input payload of
{
"Date": "2025年09月09日T18:03:06.830"
}
I'm trying to get an output of
"2025年09月09日T18:03:06.830Z"
I've tried this DataWeave
%dw 2.0
output ...
3
votes
2
answers
246
views
Process .DAT files which contains PDF
I will be receiving a .dat file which contains multiple pdf files encoded as base64 string which will be separated by a new line or some character.
Initial approach is read -> payload splitBy "\n" -...
0
votes
1
answer
54
views
Can I extend Dataweave with additional Scala-based functions/libraries?
I have some functions written in Scala that I would like to add to Dataweave in Anypoint Studio so that I can use them natively in Transform connectors. Is it possible to extend Dataweave's core like ...
0
votes
1
answer
93
views
Using MuleSoft Transform message initialize variables when payload is null
I am using the MuleSoft Transform Message component to initialize variables testIP and testDomain. It works well when the payload is not empty, but throws an exception when the payload is null or ...
0
votes
2
answers
53
views
How to get all elements with key ending with TXI to an array
I need to get all elements which has key ending with TXI, to a single array using simple 1 or 2 lines.
Tried various ways using mapObject(), However it doesn't work with the nested structure. Also ...
-1
votes
1
answer
76
views
How to stream lines of text from large file using Mule 4.5.0 Kernel
Using Mule 4.5.0, I need to read in a large text file (~1GB-2GB) line by line (/n) and generate individual mule messages of each line. Using dataweave and the foreach scope I was able to stream the ...
2
votes
2
answers
68
views
Append to a matched regex string
Using dataweave with import * from dw::core::Strings
I have converted a JSON payload into a plain text string. I am able to use the Java functions replaceAll, match, etc. with a regex pattern to find ...
-2
votes
2
answers
83
views
Dataweave / Mule : CSV to JSON - 3 level Hierarchy Issue [closed]
Source Data : Here is the CSV Data (4 Records):
EMP_ID,DEPT_ID,OPRT_UNIT_CODE,PROD_CODE,NODE_CODE,ALLOC_PCT
123456,00700,0101,000,00700-0101,5
123456,00700,0101,000,00700-0101-000,5
123456,02150,0101,...
1
vote
1
answer
93
views
How to access a property name in URI params in Mulesoft
I'm trying to access a property in HTTP Request connector URI Params, But it doesn't seem to be working
Here's the way I generally access ${property_name} in all the places, but it's not resolving the ...
0
votes
1
answer
52
views
How to merge two lists based on a matching string and assign incremental numbers to each object using Mulesoft DataWeave
How can I merge the following two lists ids and attributes based on the matching did field and for each matched pair increment the iterid values
For example I have two lists below. size of the list ...