SlideShare a Scribd company logo
Dataweave Transformations
Made Easy
Turing Works and Mule
Dataweave Transformations Made Easy
DataWeave is a
new language for querying and transforming data.
DataWeave includes a connectivity layer and engine
that is fundamentally different from other transf
ormation technologies. It contains a data access l
ayer that indexes content and accesses the binary
directly, without costly conversions, enabling lar
ger than memory payloads, random access to input d
ocuments and very high performance.
We have taken
a simple file transformation and set off data as a
n example that is to be transformed from JSON to X
ML.
When the transform message component is selected,
we can see the properties as shown below.
The abov
e image shows three sections, the first one is an
input section which shows the message section and
what is available for transformation. The second s
ection is the DataWeave code and the third one out
put section that shows us the preview of the trans
formation in the expected output format.
DataWeave
code is a JSON like syntax and is format neutral.
This is used to define the mappings. The top sect
ion defines the output, variables and the expected
structure. Under that, we have the code after the
In the above example we have use the output type
application/xml, as defined in the top section in
the code, so our output is in XML format. The for
mat for output can be changed to csv or java by ju
st changing the output type to application/csv
. The change can also be observed in the output se
ction as shown below.
or to application/java as
shown below.
The DataWeave language has lot of ope
rators like functions, operators, filters, etc. bu
ilt into it to help with most of the common transf
ormations. It also supports a variety of transform
ations, from simple one-to-one mappings to more el

More Related Content

What's hot

Linq
LinqLinq
Linq
samneang
 
Linq to sql
Linq to sqlLinq to sql
Linq to sql
Shivanand Arur
 
Language Integrated Query - LINQ
Language Integrated Query - LINQLanguage Integrated Query - LINQ
Language Integrated Query - LINQ
Doncho Minkov
 
6.1\9 SSIS 2008R2_Training - DataFlow Transformations
6.1\9 SSIS 2008R2_Training - DataFlow Transformations6.1\9 SSIS 2008R2_Training - DataFlow Transformations
6.1\9 SSIS 2008R2_Training - DataFlow Transformations
Pramod Singla
 
Mule mel 2
Mule mel 2Mule mel 2
Mule mel 2
kunal vishe
 
6.2\9 SSIS 2008R2_Training - DataFlow Transformations
6.2\9 SSIS 2008R2_Training - DataFlow Transformations6.2\9 SSIS 2008R2_Training - DataFlow Transformations
6.2\9 SSIS 2008R2_Training - DataFlow Transformations
Pramod Singla
 
Linq
LinqLinq
3.java database connectivity
3.java database connectivity3.java database connectivity
3.java database connectivity
web360
 
Jdbc
JdbcJdbc
Introducing LINQ
Introducing LINQIntroducing LINQ
Introducing LINQ
LearnNowOnline
 
Understanding LINQ in C#
Understanding LINQ in C# Understanding LINQ in C#
Understanding LINQ in C#
MD. Shohag Mia
 
Entity Framework
Entity FrameworkEntity Framework
Entity Framework
vrluckyin
 
Linq to xml
Linq to xmlLinq to xml
Linq to xml
Mickey
 
Mule esb
Mule esbMule esb
Mule esb
charan teja R
 
Data weave documentation
Data weave documentationData weave documentation
Data weave documentation
Sindhu VL
 
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDBDeep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDB
ArangoDB Database
 
Module 3: Introduction to LINQ (PowerPoint Slides)
Module 3: Introduction to LINQ (PowerPoint Slides)Module 3: Introduction to LINQ (PowerPoint Slides)
Module 3: Introduction to LINQ (PowerPoint Slides)
Mohamed Saleh
 
Day5
Day5Day5
Sql Summit Clr, Service Broker And Xml
Sql Summit   Clr, Service Broker And XmlSql Summit   Clr, Service Broker And Xml
Sql Summit Clr, Service Broker And Xml
David Truxall
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
S.Shayan Daneshvar
 

What's hot (20)

Linq
LinqLinq
Linq
 
Linq to sql
Linq to sqlLinq to sql
Linq to sql
 
Language Integrated Query - LINQ
Language Integrated Query - LINQLanguage Integrated Query - LINQ
Language Integrated Query - LINQ
 
6.1\9 SSIS 2008R2_Training - DataFlow Transformations
6.1\9 SSIS 2008R2_Training - DataFlow Transformations6.1\9 SSIS 2008R2_Training - DataFlow Transformations
6.1\9 SSIS 2008R2_Training - DataFlow Transformations
 
Mule mel 2
Mule mel 2Mule mel 2
Mule mel 2
 
6.2\9 SSIS 2008R2_Training - DataFlow Transformations
6.2\9 SSIS 2008R2_Training - DataFlow Transformations6.2\9 SSIS 2008R2_Training - DataFlow Transformations
6.2\9 SSIS 2008R2_Training - DataFlow Transformations
 
Linq
LinqLinq
Linq
 
3.java database connectivity
3.java database connectivity3.java database connectivity
3.java database connectivity
 
Jdbc
JdbcJdbc
Jdbc
 
Introducing LINQ
Introducing LINQIntroducing LINQ
Introducing LINQ
 
Understanding LINQ in C#
Understanding LINQ in C# Understanding LINQ in C#
Understanding LINQ in C#
 
Entity Framework
Entity FrameworkEntity Framework
Entity Framework
 
Linq to xml
Linq to xmlLinq to xml
Linq to xml
 
Mule esb
Mule esbMule esb
Mule esb
 
Data weave documentation
Data weave documentationData weave documentation
Data weave documentation
 
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDBDeep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDB
 
Module 3: Introduction to LINQ (PowerPoint Slides)
Module 3: Introduction to LINQ (PowerPoint Slides)Module 3: Introduction to LINQ (PowerPoint Slides)
Module 3: Introduction to LINQ (PowerPoint Slides)
 
Day5
Day5Day5
Day5
 
Sql Summit Clr, Service Broker And Xml
Sql Summit   Clr, Service Broker And XmlSql Summit   Clr, Service Broker And Xml
Sql Summit Clr, Service Broker And Xml
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 

Viewers also liked

Allocation procedures display guidelines for KIBS-KW
Allocation procedures display guidelines for KIBS-KWAllocation procedures display guidelines for KIBS-KW
Allocation procedures display guidelines for KIBS-KW
John G. Hermanson
 
Question 6
Question 6Question 6
Question 6
Cuety242
 
Patrick Asiedu - Employment CV3
Patrick Asiedu - Employment CV3Patrick Asiedu - Employment CV3
Patrick Asiedu - Employment CV3
Patrick Asiedu
 
Declan Barry CV - April 2015
Declan Barry CV - April 2015Declan Barry CV - April 2015
Declan Barry CV - April 2015
Declan Barry
 
WEBS
WEBS WEBS
Agua y p h [presentación]
Agua y p h [presentación]Agua y p h [presentación]
Agua y p h [presentación]
Armando del Río
 
Teen thriller
Teen thrillerTeen thriller
Teen thriller
Cuety242
 
CV -Oct 2016
CV -Oct 2016CV -Oct 2016
CV -Oct 2016
Graham Pearce
 
Tarek CV 000
Tarek CV 000Tarek CV 000
Tarek CV 000
Tarek Abdulbary Diab
 
Wikiyblog
WikiyblogWikiyblog
Wikiyblog
mariandrea99
 
Undergraduate prospectus
Undergraduate prospectusUndergraduate prospectus
Undergraduate prospectus
Emrana Khatun
 
my c.v
my c.v my c.v
my c.v
fatma ahmed
 
Indian musical
Indian musicalIndian musical
Indian musical
pravin kherodkar
 
Web 1.0 2.0 3.0
Web 1.0 2.0 3.0Web 1.0 2.0 3.0
Web 1.0 2.0 3.0
JANETHBARRETERO97
 
Independence&benefits
Independence&benefitsIndependence&benefits
Independence&benefits
xomxomxom
 
Presentacin2 110317083846-phpapp01
Presentacin2 110317083846-phpapp01Presentacin2 110317083846-phpapp01
Presentacin2 110317083846-phpapp01
albani silva
 
rating-vs-scoring
rating-vs-scoringrating-vs-scoring
rating-vs-scoring
Radoslaw Haraburda
 
long term.PDF
long term.PDFlong term.PDF
Academic Sample Paper-Morgan Tucker
Academic Sample Paper-Morgan TuckerAcademic Sample Paper-Morgan Tucker
Academic Sample Paper-Morgan Tucker
Morgan Tucker
 

Viewers also liked (20)

Allocation procedures display guidelines for KIBS-KW
Allocation procedures display guidelines for KIBS-KWAllocation procedures display guidelines for KIBS-KW
Allocation procedures display guidelines for KIBS-KW
 
Question 6
Question 6Question 6
Question 6
 
Patrick Asiedu - Employment CV3
Patrick Asiedu - Employment CV3Patrick Asiedu - Employment CV3
Patrick Asiedu - Employment CV3
 
Declan Barry CV - April 2015
Declan Barry CV - April 2015Declan Barry CV - April 2015
Declan Barry CV - April 2015
 
WEBS
WEBS WEBS
WEBS
 
Agua y p h [presentación]
Agua y p h [presentación]Agua y p h [presentación]
Agua y p h [presentación]
 
Teen thriller
Teen thrillerTeen thriller
Teen thriller
 
CV -Oct 2016
CV -Oct 2016CV -Oct 2016
CV -Oct 2016
 
Tarek CV 000
Tarek CV 000Tarek CV 000
Tarek CV 000
 
Wikiyblog
WikiyblogWikiyblog
Wikiyblog
 
Undergraduate prospectus
Undergraduate prospectusUndergraduate prospectus
Undergraduate prospectus
 
my c.v
my c.v my c.v
my c.v
 
Indian musical
Indian musicalIndian musical
Indian musical
 
Web 1.0 2.0 3.0
Web 1.0 2.0 3.0Web 1.0 2.0 3.0
Web 1.0 2.0 3.0
 
anastasia_tatcha
anastasia_tatchaanastasia_tatcha
anastasia_tatcha
 
Independence&benefits
Independence&benefitsIndependence&benefits
Independence&benefits
 
Presentacin2 110317083846-phpapp01
Presentacin2 110317083846-phpapp01Presentacin2 110317083846-phpapp01
Presentacin2 110317083846-phpapp01
 
rating-vs-scoring
rating-vs-scoringrating-vs-scoring
rating-vs-scoring
 
long term.PDF
long term.PDFlong term.PDF
long term.PDF
 
Academic Sample Paper-Morgan Tucker
Academic Sample Paper-Morgan TuckerAcademic Sample Paper-Morgan Tucker
Academic Sample Paper-Morgan Tucker
 

Similar to Easy Dataweave transformations - Ashutosh

Data weave reference documentation
Data weave reference documentationData weave reference documentation
Data weave reference documentation
D.Rajesh Kumar
 
Data weave documentation
Data weave documentationData weave documentation
Data weave documentation
Khadhar Koneti
 
Data weave
Data weave Data weave
Data weave
Khasim Saheb
 
Data weave
Data weave Data weave
Data weave
Anand kalla
 
Data weave
Data weave Data weave
Data weave
Sunil Komarapu
 
Data weave
Data weave Data weave
Data weave
Khan625
 
Data weave in Mule
Data weave in MuleData weave in Mule
Data weave in Mule
RaviShankar Mishra
 
Mule data weave
Mule data weaveMule data weave
Mule data weave
D.Rajesh Kumar
 
Data weave
Data weaveData weave
Data weave
manavp
 
Dataweave 160103180124
Dataweave 160103180124Dataweave 160103180124
Dataweave 160103180124
vijay dhanakodi
 
Data weave
Data weave Data weave
Data weave
princeirfancivil
 
Data weave
Data weave Data weave
Data weave
Phaniu
 
Data weave
Data weave Data weave
Data weave
mdfkhan625
 
Dataweave
Dataweave Dataweave
Dataweave
Praneethchampion
 
Data weave
Data weave Data weave
Data weave
irfan1008
 
Dataweave by nagarjuna
Dataweave  by nagarjunaDataweave  by nagarjuna
Dataweave by nagarjuna
Nagarjuna reddy
 
Mule dataweave
Mule dataweaveMule dataweave
Data weave component
Data weave componentData weave component
Data weave component
Sindhu VL
 
Dataweave Basic
Dataweave BasicDataweave Basic
Dataweave Basic
Nishant Kumar
 
Data weave
Data weaveData weave
Data weave
Adithya-kuchan
 

Similar to Easy Dataweave transformations - Ashutosh (20)

Data weave reference documentation
Data weave reference documentationData weave reference documentation
Data weave reference documentation
 
Data weave documentation
Data weave documentationData weave documentation
Data weave documentation
 
Data weave
Data weave Data weave
Data weave
 
Data weave
Data weave Data weave
Data weave
 
Data weave
Data weave Data weave
Data weave
 
Data weave
Data weave Data weave
Data weave
 
Data weave in Mule
Data weave in MuleData weave in Mule
Data weave in Mule
 
Mule data weave
Mule data weaveMule data weave
Mule data weave
 
Data weave
Data weaveData weave
Data weave
 
Dataweave 160103180124
Dataweave 160103180124Dataweave 160103180124
Dataweave 160103180124
 
Data weave
Data weave Data weave
Data weave
 
Data weave
Data weave Data weave
Data weave
 
Data weave
Data weave Data weave
Data weave
 
Dataweave
Dataweave Dataweave
Dataweave
 
Data weave
Data weave Data weave
Data weave
 
Dataweave by nagarjuna
Dataweave  by nagarjunaDataweave  by nagarjuna
Dataweave by nagarjuna
 
Mule dataweave
Mule dataweaveMule dataweave
Mule dataweave
 
Data weave component
Data weave componentData weave component
Data weave component
 
Dataweave Basic
Dataweave BasicDataweave Basic
Dataweave Basic
 
Data weave
Data weaveData weave
Data weave
 

Recently uploaded

How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 

Recently uploaded (20)

How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 

Easy Dataweave transformations - Ashutosh

  • 2. Dataweave Transformations Made Easy DataWeave is a new language for querying and transforming data. DataWeave includes a connectivity layer and engine that is fundamentally different from other transf ormation technologies. It contains a data access l ayer that indexes content and accesses the binary directly, without costly conversions, enabling lar ger than memory payloads, random access to input d ocuments and very high performance. We have taken a simple file transformation and set off data as a n example that is to be transformed from JSON to X ML.
  • 3. When the transform message component is selected, we can see the properties as shown below. The abov e image shows three sections, the first one is an input section which shows the message section and what is available for transformation. The second s ection is the DataWeave code and the third one out put section that shows us the preview of the trans formation in the expected output format. DataWeave code is a JSON like syntax and is format neutral. This is used to define the mappings. The top sect ion defines the output, variables and the expected structure. Under that, we have the code after the
  • 4. In the above example we have use the output type application/xml, as defined in the top section in the code, so our output is in XML format. The for mat for output can be changed to csv or java by ju st changing the output type to application/csv . The change can also be observed in the output se ction as shown below. or to application/java as shown below. The DataWeave language has lot of ope rators like functions, operators, filters, etc. bu ilt into it to help with most of the common transf ormations. It also supports a variety of transform ations, from simple one-to-one mappings to more el