SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
1
Unleash Powerful Data
Transforms in Apex
with DataWeave
Daniel Ballinger, Apex Product Manager
@FishOfPrey | dballinger@salesforce.com
Anand Subramanian, Apex Principal Engineer
@anand13s | a.subramanian@salesforce.com
Forward Looking Statements
This presentation contains forward-looking statements about, among other things, trend analyses and future events, future ïŹnancial performance, anticipated growth, industry prospects,
environmental, social and governance goals, and the anticipated beneïŹts of acquired companies. The achievement or success of the matters covered by such forward-looking statements
involves risks, uncertainties and assumptions. If any such risks or uncertainties materialize or if any of the assumptions prove incorrect, Salesforce’s results could diïŹ€er materially from the results
expressed or implied by these forward-looking statements. The risks and uncertainties referred to above include those factors discussed in Salesforce’s reports ïŹled from time to time with the
Securities and Exchange Commission, including, but not limited to: the impact of, and actions we may take in response to, the COVID-19 pandemic, related public health measures and
resulting economic downturn and market volatility; our ability to maintain security levels and service performance meeting the expectations of our customers, and the resources and costs
required to avoid unanticipated downtime and prevent, detect and remediate performance degradation and security breaches; the expenses associated with our data centers and third-party
infrastructure providers; our ability to secure additional data center capacity; our reliance on third-party hardware, software and platform providers; the eïŹ€ect of evolving domestic and foreign
government regulations, including those related to the provision of services on the Internet, those related to accessing the Internet, and those addressing data privacy, cross-border data
transfers and import and export controls; current and potential litigation involving us or our industry, including litigation involving acquired entities such as Tableau Software, Inc. and Slack
Technologies, Inc., and the resolution or settlement thereof; regulatory developments and regulatory investigations involving us or aïŹ€ecting our industry; our ability to successfully introduce
new services and product features, including any eïŹ€orts to expand our services; the success of our strategy of acquiring or making investments in complementary businesses, joint ventures,
services, technologies and intellectual property rights; our ability to complete, on a timely basis or at all, announced transactions; our ability to realize the beneïŹts from acquisitions, strategic
partnerships, joint ventures and investments, including our July 2021 acquisition of Slack Technologies, Inc., and successfully integrate acquired businesses and technologies; our ability to
compete in the markets in which we participate; the success of our business strategy and our plan to build our business, including our strategy to be a leading provider of enterprise cloud
computing applications and platforms; our ability to execute our business plans; our ability to continue to grow unearned revenue and remaining performance obligation; the pace of change
and innovation in enterprise cloud computing services; the seasonal nature of our sales cycles; our ability to limit customer attrition and costs related to those eïŹ€orts; the success of our
international expansion strategy; the demands on our personnel and infrastructure resulting from signiïŹcant growth in our customer base and operations, including as a result of acquisitions;
our ability to preserve our workplace culture, including as a result of our decisions regarding our current and future oïŹƒce environments or work-from-home policies; our dependency on the
development and maintenance of the infrastructure of the Internet; our real estate and oïŹƒce facilities strategy and related costs and uncertainties; ïŹ‚uctuations in, and our ability to predict, our
operating results and cash ïŹ‚ows; the variability in our results arising from the accounting for term license revenue products; the performance and fair value of our investments in
complementary businesses through our strategic investment portfolio; the impact of future gains or losses from our strategic investment portfolio, including gains or losses from overall market
conditions that may aïŹ€ect the publicly traded companies within our strategic investment portfolio; our ability to protect our intellectual property rights; our ability to develop our brands; the
impact of foreign currency exchange rate and interest rate ïŹ‚uctuations on our results; the valuation of our deferred tax assets and the release of related valuation allowances; the potential
availability of additional tax assets in the future; the impact of new accounting pronouncements and tax laws; uncertainties aïŹ€ecting our ability to estimate our tax rate; uncertainties regarding
our tax obligations in connection with potential jurisdictional transfers of intellectual property, including the tax rate, the timing of the transfer and the value of such transferred intellectual
property; uncertainties regarding the eïŹ€ect of general economic and market conditions; the impact of geopolitical events; uncertainties regarding the impact of expensing stock options and
other equity awards; the suïŹƒciency of our capital resources; our ability to comply with our debt covenants and lease obligations; and the impact of climate change, natural disasters and actual
or threatened public health emergencies, including the ongoing COVID-19 pandemic.
Anand Subramanian
Principal Engineer, Apex
a.subramanian@salesforce.com
@anand13s
Daniel Ballinger
Director of Product Management, Apex
dballinger@salesforce.com
@FishOfPrey
Challenges with Data
Transformation
Task: Ingest CSV data blob with Apex
first_name, last_name, 
 /n
Astro, Nomical, 

● csvString.split('/n');
● csvLine.split(',');
● RFC 4180
○ Double Quote delimiters
■ escaped - """"
Build a Finite State Machine!
What is DataWeave?
MuleSoft’s functional programming language for data
transformation.
1. Read and parse data from a given format
2. Transform it
3. Write it out as a target format
Read Transform Write
DataWeave Example
Payload: CSV
ïŹrst_name,last_name,company,address
Abel,Maclead,"Rousseaux, Michael Esq","6649 N Blue Gum St,n
New Orleans"
Payload: CSV
first_name,last_name,
company,address
Abel,Maclead,"Rousseaux,
Michael Esq","6649 N Blue Gum
St,n
New Orleans"
DataWeave Example
DW Script
%dw 2.0
input payload application/csv
output application/json
---
payload
Output: JSON
[
{
"first_name": "Abel",
"last_name": "Maclead",
"company": "Rousseaux,
Michael Esq",
"address": "6649 N Blue Gum
St,nNew Orleans"
}
]
READ TRANSFORM WRITE
Demo
What does this look like in Apex?
Q: What do I need to
access this in Apex?
A: It will be available everywhere Apex is currently*
You don’t need to be a Mulesoft customer
* Winter ’23 Developer Preview
Sample Use Cases
RFC-compliant
CSV parsing and
writing
Turns out it's harder
than just
String.split(',')
Serializing Apex
Objects, but
with a custom
DateTime
format
In Apex today this
requires using a
custom
JSONGenerator, or
hand-crafting XML via
Document
Serialize/
Deserialize with
Apex Reserved
Words
DataWeave inputs
and outputs are
collections of Apex
primitives, reserved
words are allowed
Performant
Custom
Transformations
For example, serialize
an SObject, but
remove the
namespace from
ïŹeld name keys, or
remove __c suïŹƒx
The anatomy of a DW script ïŹle
Working with Script Parameters
%dw 2.0 DataWeave Version
input payload application/json Input types
input attributes application/json
input exchangeRate application/json
output application/xml Output type
var conversionRate=13.15 Constants
fun toUpper(aString)=upper(aString) Functions
--- Header/Body delimiter
payload Script body for transforms
https://sfdc.co/dwlangfun
Demo
Deep Dive
Scope and Limitations
● Developer Preview in Winter ’23
○ Scratch Orgs only - with DataWeaveInApex feature
○ No Packaging support
● DW 2 Scripts are static via .dwl metadata ïŹles
● Environment interaction restricted
● Only built in modules are supported
● No Excel or Flat File format support
● Scripts contribute towards the Apex heap and CPU limits
● XML Entity Expansion isn’t supported
● Contact data
○ 2.32MB CSV ïŹle
○ 20,000 rows
Before and Aer
35%
Less Heap
Usage
35%
Less CPU
Usage
Apex Finite State Machine DataWeave in Apex
List<List<String>> List<Contact> with ïŹelds
Beyond the dev preview
● Beta Spring ’23
● application/apex for input and output
● Packaging support (isolated within namespace)
● Static DataWeave script references
DataWeave in Apex
Apex Roadmap
Coming Soon Longer Term
Winter ’23
● DataWeave in Apex Developer Preview
● User Mode Beta enhancements
● New Assert Methods
● Queueable depth behavior and reenquee timing
● ApexTypeImplementor to GA
● List Sorting via Comparator
● User Mode to GA
● Database.treeSave() Dev Preview
● Testing improvements
● User Mode + Permission Sets
● Generics
○ Database.queryWithBinds(soql, bindVariablesMap, accessLevel)
How do I get started today?
https://sfdc.co/DataWeaveInApex
● GitHub repo with setup instructions
and examples
● Link to Trailblazer Community Group
● Content of this presentation
Call to Action
Q&A
Join us for more sessions and demos!
Time Session / Demo Location
3:00-3:40 PM
What limits? Elastically scale using OSS with
Functions
Moscone West, Level 2
3:30 - 3:20 PM Python For Functions
Developer Theater, Moscone
West, Level 1
Until 4:15 PM Salesforce Functions Booth Platform Park
Until 4:15 PM Heroku Booth Platform Park
Until 4:15 PM Apex Booth Platform Park
Until 4:15 PM Scale Apps Fast Booth IT Lodge & Campground
Meet our speakers oïŹ€stage
right after this session!
24
Thank
you

Weitere Àhnliche Inhalte

Was ist angesagt?

How to Execute a Successful API Strategy
How to Execute a Successful API StrategyHow to Execute a Successful API Strategy
How to Execute a Successful API StrategyMatt McLarty
 
Benefits of integration with the Mulesoft Anypoint Platform
Benefits of integration with the Mulesoft Anypoint PlatformBenefits of integration with the Mulesoft Anypoint Platform
Benefits of integration with the Mulesoft Anypoint PlatformCloud Analogy
 
Salesforce Development Best Practices
Salesforce Development Best PracticesSalesforce Development Best Practices
Salesforce Development Best PracticesVivek Chawla
 
Salesforce Presentation
Salesforce PresentationSalesforce Presentation
Salesforce PresentationChetna Purohit
 
SplunkLive! Customer Presentation--ServiceNow
SplunkLive! Customer Presentation--ServiceNowSplunkLive! Customer Presentation--ServiceNow
SplunkLive! Customer Presentation--ServiceNowSplunk
 
Webinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce OptimizerWebinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce OptimizerSalesforce Admins
 
Sap integration salesforce_presentation
Sap integration salesforce_presentationSap integration salesforce_presentation
Sap integration salesforce_presentationSalesforce Deutschland
 
Introduction to the Salesforce Security Model
Introduction to the Salesforce Security ModelIntroduction to the Salesforce Security Model
Introduction to the Salesforce Security ModelSalesforce Developers
 
Release & Change management in salesforce
Release & Change management in salesforceRelease & Change management in salesforce
Release & Change management in salesforceKalyan Lanka ☁
 
Development Best Practices
Development Best PracticesDevelopment Best Practices
Development Best PracticesSalesforce Partners
 
How to Rock a Salesforce Demo (and why it matters)
How to Rock a Salesforce Demo (and why it matters)How to Rock a Salesforce Demo (and why it matters)
How to Rock a Salesforce Demo (and why it matters)Salesforce Admins
 
Modern Development with Salesforce DX
Modern Development with Salesforce DXModern Development with Salesforce DX
Modern Development with Salesforce DXSalesforce Developers
 
Planning Your Migration to the Lightning Experience
Planning Your Migration to the Lightning ExperiencePlanning Your Migration to the Lightning Experience
Planning Your Migration to the Lightning ExperienceShell Black
 
Introduction Ă  la plateforme Anypoint de MuleSoft
Introduction Ă  la plateforme Anypoint de MuleSoftIntroduction Ă  la plateforme Anypoint de MuleSoft
Introduction Ă  la plateforme Anypoint de MuleSoftParis Salesforce Developer Group
 
Virtual meetup - Exploring the Runtime Fabric deployment model
Virtual meetup - Exploring the Runtime Fabric deployment modelVirtual meetup - Exploring the Runtime Fabric deployment model
Virtual meetup - Exploring the Runtime Fabric deployment modelJimmy Attia
 
Manage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with GovernanceManage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with GovernanceSalesforce Admins
 
Salesforce Multitenant Architecture: How We Do the Magic We Do
Salesforce Multitenant Architecture: How We Do the Magic We DoSalesforce Multitenant Architecture: How We Do the Magic We Do
Salesforce Multitenant Architecture: How We Do the Magic We DoSalesforce Developers
 
Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)Roy Gilad
 
Taking control of your queries with GraphQL, Alba Rivas
Taking control of your queries with GraphQL, Alba RivasTaking control of your queries with GraphQL, Alba Rivas
Taking control of your queries with GraphQL, Alba RivasCzechDreamin
 
sap fiori architecture
sap fiori architecturesap fiori architecture
sap fiori architecturePhanindra Mortha
 

Was ist angesagt? (20)

How to Execute a Successful API Strategy
How to Execute a Successful API StrategyHow to Execute a Successful API Strategy
How to Execute a Successful API Strategy
 
Benefits of integration with the Mulesoft Anypoint Platform
Benefits of integration with the Mulesoft Anypoint PlatformBenefits of integration with the Mulesoft Anypoint Platform
Benefits of integration with the Mulesoft Anypoint Platform
 
Salesforce Development Best Practices
Salesforce Development Best PracticesSalesforce Development Best Practices
Salesforce Development Best Practices
 
Salesforce Presentation
Salesforce PresentationSalesforce Presentation
Salesforce Presentation
 
SplunkLive! Customer Presentation--ServiceNow
SplunkLive! Customer Presentation--ServiceNowSplunkLive! Customer Presentation--ServiceNow
SplunkLive! Customer Presentation--ServiceNow
 
Webinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce OptimizerWebinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce Optimizer
 
Sap integration salesforce_presentation
Sap integration salesforce_presentationSap integration salesforce_presentation
Sap integration salesforce_presentation
 
Introduction to the Salesforce Security Model
Introduction to the Salesforce Security ModelIntroduction to the Salesforce Security Model
Introduction to the Salesforce Security Model
 
Release & Change management in salesforce
Release & Change management in salesforceRelease & Change management in salesforce
Release & Change management in salesforce
 
Development Best Practices
Development Best PracticesDevelopment Best Practices
Development Best Practices
 
How to Rock a Salesforce Demo (and why it matters)
How to Rock a Salesforce Demo (and why it matters)How to Rock a Salesforce Demo (and why it matters)
How to Rock a Salesforce Demo (and why it matters)
 
Modern Development with Salesforce DX
Modern Development with Salesforce DXModern Development with Salesforce DX
Modern Development with Salesforce DX
 
Planning Your Migration to the Lightning Experience
Planning Your Migration to the Lightning ExperiencePlanning Your Migration to the Lightning Experience
Planning Your Migration to the Lightning Experience
 
Introduction Ă  la plateforme Anypoint de MuleSoft
Introduction Ă  la plateforme Anypoint de MuleSoftIntroduction Ă  la plateforme Anypoint de MuleSoft
Introduction Ă  la plateforme Anypoint de MuleSoft
 
Virtual meetup - Exploring the Runtime Fabric deployment model
Virtual meetup - Exploring the Runtime Fabric deployment modelVirtual meetup - Exploring the Runtime Fabric deployment model
Virtual meetup - Exploring the Runtime Fabric deployment model
 
Manage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with GovernanceManage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with Governance
 
Salesforce Multitenant Architecture: How We Do the Magic We Do
Salesforce Multitenant Architecture: How We Do the Magic We DoSalesforce Multitenant Architecture: How We Do the Magic We Do
Salesforce Multitenant Architecture: How We Do the Magic We Do
 
Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)
 
Taking control of your queries with GraphQL, Alba Rivas
Taking control of your queries with GraphQL, Alba RivasTaking control of your queries with GraphQL, Alba Rivas
Taking control of your queries with GraphQL, Alba Rivas
 
sap fiori architecture
sap fiori architecturesap fiori architecture
sap fiori architecture
 

Ähnlich wie Dreamforce 22 Unleash Powerful Data Transforms in Apex with DataWeave

Next Generation Application Development, Alex Edelstein
Next Generation Application Development, Alex EdelsteinNext Generation Application Development, Alex Edelstein
Next Generation Application Development, Alex EdelsteinCzechDreamin
 
Fort Worth Community - Record Triggered Automations.pdf
Fort Worth Community - Record Triggered Automations.pdfFort Worth Community - Record Triggered Automations.pdf
Fort Worth Community - Record Triggered Automations.pdfAmeyKulkarni84
 
Toronto Developer Group - Winter 24' Release Highlights.pptx
Toronto Developer Group - Winter 24' Release Highlights.pptxToronto Developer Group - Winter 24' Release Highlights.pptx
Toronto Developer Group - Winter 24' Release Highlights.pptxKaranraj Sankaranarayanan
 
Denver MuleSoft Meetup: TDX Talk - Automatically Secure and Manage any API at...
Denver MuleSoft Meetup: TDX Talk - Automatically Secure and Manage any API at...Denver MuleSoft Meetup: TDX Talk - Automatically Secure and Manage any API at...
Denver MuleSoft Meetup: TDX Talk - Automatically Secure and Manage any API at...Big Compass
 
DevOps Center_ArchitectGroup
DevOps Center_ArchitectGroup DevOps Center_ArchitectGroup
DevOps Center_ArchitectGroup AmeyKulkarni84
 
Go with the Flow - Jarrod Kingston
Go with the Flow - Jarrod KingstonGo with the Flow - Jarrod Kingston
Go with the Flow - Jarrod KingstonJarrod Kingston
 
Salesforce Architect Group, Frederick, United States February 2023 - Inaugura...
Salesforce Architect Group, Frederick, United States February 2023 - Inaugura...Salesforce Architect Group, Frederick, United States February 2023 - Inaugura...
Salesforce Architect Group, Frederick, United States February 2023 - Inaugura...NadinaLisbon1
 
Wellington Salesforce User Group - Summer 22 Release
Wellington Salesforce User Group - Summer 22 ReleaseWellington Salesforce User Group - Summer 22 Release
Wellington Salesforce User Group - Summer 22 ReleaseAnna Loughnan Colquhoun
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...
First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...
First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...Anna Loughnan Colquhoun
 
SFWelly user group spring '22 release highlights with Mel Macdonald
SFWelly user group spring '22 release highlights with Mel MacdonaldSFWelly user group spring '22 release highlights with Mel Macdonald
SFWelly user group spring '22 release highlights with Mel MacdonaldAnna Loughnan Colquhoun
 
Elevate productivity_ Unveiling the power of new Slack innovations.pdf
Elevate productivity_ Unveiling the power of new Slack innovations.pdfElevate productivity_ Unveiling the power of new Slack innovations.pdf
Elevate productivity_ Unveiling the power of new Slack innovations.pdfTCS
 
DC MuleSoft Meetup: TDX Talk: API Security The 3 Keys To Protect Your Digital...
DC MuleSoft Meetup: TDX Talk: API Security The 3 Keys To Protect Your Digital...DC MuleSoft Meetup: TDX Talk: API Security The 3 Keys To Protect Your Digital...
DC MuleSoft Meetup: TDX Talk: API Security The 3 Keys To Protect Your Digital...Big Compass
 
MuleSoft Online Meetup Group - B2B Crash Course: PM Insider Lecture
MuleSoft Online Meetup Group - B2B Crash Course: PM Insider LectureMuleSoft Online Meetup Group - B2B Crash Course: PM Insider Lecture
MuleSoft Online Meetup Group - B2B Crash Course: PM Insider LectureManik S Magar
 
Mulesoft RPA & The Last Mile Problem (Dreamforce 22 ) | MuleSoft Mysore Meetu...
Mulesoft RPA & The Last Mile Problem (Dreamforce 22 ) | MuleSoft Mysore Meetu...Mulesoft RPA & The Last Mile Problem (Dreamforce 22 ) | MuleSoft Mysore Meetu...
Mulesoft RPA & The Last Mile Problem (Dreamforce 22 ) | MuleSoft Mysore Meetu...MysoreMuleSoftMeetup
 
Jax, FL Admin Group Presents: Winter '22 Release Highlights
Jax, FL Admin Group Presents: Winter '22 Release HighlightsJax, FL Admin Group Presents: Winter '22 Release Highlights
Jax, FL Admin Group Presents: Winter '22 Release HighlightsMarc Lester
 
RTC2023_Boost-App-Integration-with-AI_Kim.pdf
RTC2023_Boost-App-Integration-with-AI_Kim.pdfRTC2023_Boost-App-Integration-with-AI_Kim.pdf
RTC2023_Boost-App-Integration-with-AI_Kim.pdfhossenkamal2
 
Architecting Integrations for Observability.pdf
Architecting Integrations for Observability.pdfArchitecting Integrations for Observability.pdf
Architecting Integrations for Observability.pdfManik S Magar
 
Winter '22 highlights
Winter '22 highlightsWinter '22 highlights
Winter '22 highlightsAtaullahKhan31
 
Women in Tech - Salesforce Debug Logs Deep Dive with Jess Lopez - March 2021
Women in Tech - Salesforce Debug Logs Deep Dive with Jess Lopez - March 2021Women in Tech - Salesforce Debug Logs Deep Dive with Jess Lopez - March 2021
Women in Tech - Salesforce Debug Logs Deep Dive with Jess Lopez - March 2021Alesia Dvorkina
 

Ähnlich wie Dreamforce 22 Unleash Powerful Data Transforms in Apex with DataWeave (20)

Next Generation Application Development, Alex Edelstein
Next Generation Application Development, Alex EdelsteinNext Generation Application Development, Alex Edelstein
Next Generation Application Development, Alex Edelstein
 
Fort Worth Community - Record Triggered Automations.pdf
Fort Worth Community - Record Triggered Automations.pdfFort Worth Community - Record Triggered Automations.pdf
Fort Worth Community - Record Triggered Automations.pdf
 
Toronto Developer Group - Winter 24' Release Highlights.pptx
Toronto Developer Group - Winter 24' Release Highlights.pptxToronto Developer Group - Winter 24' Release Highlights.pptx
Toronto Developer Group - Winter 24' Release Highlights.pptx
 
Denver MuleSoft Meetup: TDX Talk - Automatically Secure and Manage any API at...
Denver MuleSoft Meetup: TDX Talk - Automatically Secure and Manage any API at...Denver MuleSoft Meetup: TDX Talk - Automatically Secure and Manage any API at...
Denver MuleSoft Meetup: TDX Talk - Automatically Secure and Manage any API at...
 
DevOps Center_ArchitectGroup
DevOps Center_ArchitectGroup DevOps Center_ArchitectGroup
DevOps Center_ArchitectGroup
 
Go with the Flow - Jarrod Kingston
Go with the Flow - Jarrod KingstonGo with the Flow - Jarrod Kingston
Go with the Flow - Jarrod Kingston
 
Salesforce Architect Group, Frederick, United States February 2023 - Inaugura...
Salesforce Architect Group, Frederick, United States February 2023 - Inaugura...Salesforce Architect Group, Frederick, United States February 2023 - Inaugura...
Salesforce Architect Group, Frederick, United States February 2023 - Inaugura...
 
Wellington Salesforce User Group - Summer 22 Release
Wellington Salesforce User Group - Summer 22 ReleaseWellington Salesforce User Group - Summer 22 Release
Wellington Salesforce User Group - Summer 22 Release
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...
First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...
First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...
 
SFWelly user group spring '22 release highlights with Mel Macdonald
SFWelly user group spring '22 release highlights with Mel MacdonaldSFWelly user group spring '22 release highlights with Mel Macdonald
SFWelly user group spring '22 release highlights with Mel Macdonald
 
Elevate productivity_ Unveiling the power of new Slack innovations.pdf
Elevate productivity_ Unveiling the power of new Slack innovations.pdfElevate productivity_ Unveiling the power of new Slack innovations.pdf
Elevate productivity_ Unveiling the power of new Slack innovations.pdf
 
DC MuleSoft Meetup: TDX Talk: API Security The 3 Keys To Protect Your Digital...
DC MuleSoft Meetup: TDX Talk: API Security The 3 Keys To Protect Your Digital...DC MuleSoft Meetup: TDX Talk: API Security The 3 Keys To Protect Your Digital...
DC MuleSoft Meetup: TDX Talk: API Security The 3 Keys To Protect Your Digital...
 
MuleSoft Online Meetup Group - B2B Crash Course: PM Insider Lecture
MuleSoft Online Meetup Group - B2B Crash Course: PM Insider LectureMuleSoft Online Meetup Group - B2B Crash Course: PM Insider Lecture
MuleSoft Online Meetup Group - B2B Crash Course: PM Insider Lecture
 
Mulesoft RPA & The Last Mile Problem (Dreamforce 22 ) | MuleSoft Mysore Meetu...
Mulesoft RPA & The Last Mile Problem (Dreamforce 22 ) | MuleSoft Mysore Meetu...Mulesoft RPA & The Last Mile Problem (Dreamforce 22 ) | MuleSoft Mysore Meetu...
Mulesoft RPA & The Last Mile Problem (Dreamforce 22 ) | MuleSoft Mysore Meetu...
 
Jax, FL Admin Group Presents: Winter '22 Release Highlights
Jax, FL Admin Group Presents: Winter '22 Release HighlightsJax, FL Admin Group Presents: Winter '22 Release Highlights
Jax, FL Admin Group Presents: Winter '22 Release Highlights
 
RTC2023_Boost-App-Integration-with-AI_Kim.pdf
RTC2023_Boost-App-Integration-with-AI_Kim.pdfRTC2023_Boost-App-Integration-with-AI_Kim.pdf
RTC2023_Boost-App-Integration-with-AI_Kim.pdf
 
Architecting Integrations for Observability.pdf
Architecting Integrations for Observability.pdfArchitecting Integrations for Observability.pdf
Architecting Integrations for Observability.pdf
 
Winter '22 highlights
Winter '22 highlightsWinter '22 highlights
Winter '22 highlights
 
Women in Tech - Salesforce Debug Logs Deep Dive with Jess Lopez - March 2021
Women in Tech - Salesforce Debug Logs Deep Dive with Jess Lopez - March 2021Women in Tech - Salesforce Debug Logs Deep Dive with Jess Lopez - March 2021
Women in Tech - Salesforce Debug Logs Deep Dive with Jess Lopez - March 2021
 

KĂŒrzlich hochgeladen

Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
VIP Call Girls Kolkata Ananya đŸ€Œ 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya đŸ€Œ  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya đŸ€Œ  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya đŸ€Œ 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Low Rate Call Girls Kolkata Avani đŸ€Œ 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani đŸ€Œ  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani đŸ€Œ  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani đŸ€Œ 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Roomdivyansh0kumar0
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >àŒ’8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >àŒ’8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >àŒ’8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >àŒ’8448380779 Escort ServiceDelhi Call girls
 

KĂŒrzlich hochgeladen (20)

Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
VIP Call Girls Kolkata Ananya đŸ€Œ 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya đŸ€Œ  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya đŸ€Œ  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya đŸ€Œ 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Low Rate Call Girls Kolkata Avani đŸ€Œ 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani đŸ€Œ  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani đŸ€Œ  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani đŸ€Œ 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >àŒ’8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >àŒ’8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >àŒ’8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >àŒ’8448380779 Escort Service
 

Dreamforce 22 Unleash Powerful Data Transforms in Apex with DataWeave

  • 1. 1 Unleash Powerful Data Transforms in Apex with DataWeave Daniel Ballinger, Apex Product Manager @FishOfPrey | dballinger@salesforce.com Anand Subramanian, Apex Principal Engineer @anand13s | a.subramanian@salesforce.com
  • 2. Forward Looking Statements This presentation contains forward-looking statements about, among other things, trend analyses and future events, future ïŹnancial performance, anticipated growth, industry prospects, environmental, social and governance goals, and the anticipated beneïŹts of acquired companies. The achievement or success of the matters covered by such forward-looking statements involves risks, uncertainties and assumptions. If any such risks or uncertainties materialize or if any of the assumptions prove incorrect, Salesforce’s results could diïŹ€er materially from the results expressed or implied by these forward-looking statements. The risks and uncertainties referred to above include those factors discussed in Salesforce’s reports ïŹled from time to time with the Securities and Exchange Commission, including, but not limited to: the impact of, and actions we may take in response to, the COVID-19 pandemic, related public health measures and resulting economic downturn and market volatility; our ability to maintain security levels and service performance meeting the expectations of our customers, and the resources and costs required to avoid unanticipated downtime and prevent, detect and remediate performance degradation and security breaches; the expenses associated with our data centers and third-party infrastructure providers; our ability to secure additional data center capacity; our reliance on third-party hardware, software and platform providers; the eïŹ€ect of evolving domestic and foreign government regulations, including those related to the provision of services on the Internet, those related to accessing the Internet, and those addressing data privacy, cross-border data transfers and import and export controls; current and potential litigation involving us or our industry, including litigation involving acquired entities such as Tableau Software, Inc. and Slack Technologies, Inc., and the resolution or settlement thereof; regulatory developments and regulatory investigations involving us or aïŹ€ecting our industry; our ability to successfully introduce new services and product features, including any eïŹ€orts to expand our services; the success of our strategy of acquiring or making investments in complementary businesses, joint ventures, services, technologies and intellectual property rights; our ability to complete, on a timely basis or at all, announced transactions; our ability to realize the beneïŹts from acquisitions, strategic partnerships, joint ventures and investments, including our July 2021 acquisition of Slack Technologies, Inc., and successfully integrate acquired businesses and technologies; our ability to compete in the markets in which we participate; the success of our business strategy and our plan to build our business, including our strategy to be a leading provider of enterprise cloud computing applications and platforms; our ability to execute our business plans; our ability to continue to grow unearned revenue and remaining performance obligation; the pace of change and innovation in enterprise cloud computing services; the seasonal nature of our sales cycles; our ability to limit customer attrition and costs related to those eïŹ€orts; the success of our international expansion strategy; the demands on our personnel and infrastructure resulting from signiïŹcant growth in our customer base and operations, including as a result of acquisitions; our ability to preserve our workplace culture, including as a result of our decisions regarding our current and future oïŹƒce environments or work-from-home policies; our dependency on the development and maintenance of the infrastructure of the Internet; our real estate and oïŹƒce facilities strategy and related costs and uncertainties; ïŹ‚uctuations in, and our ability to predict, our operating results and cash ïŹ‚ows; the variability in our results arising from the accounting for term license revenue products; the performance and fair value of our investments in complementary businesses through our strategic investment portfolio; the impact of future gains or losses from our strategic investment portfolio, including gains or losses from overall market conditions that may aïŹ€ect the publicly traded companies within our strategic investment portfolio; our ability to protect our intellectual property rights; our ability to develop our brands; the impact of foreign currency exchange rate and interest rate ïŹ‚uctuations on our results; the valuation of our deferred tax assets and the release of related valuation allowances; the potential availability of additional tax assets in the future; the impact of new accounting pronouncements and tax laws; uncertainties aïŹ€ecting our ability to estimate our tax rate; uncertainties regarding our tax obligations in connection with potential jurisdictional transfers of intellectual property, including the tax rate, the timing of the transfer and the value of such transferred intellectual property; uncertainties regarding the eïŹ€ect of general economic and market conditions; the impact of geopolitical events; uncertainties regarding the impact of expensing stock options and other equity awards; the suïŹƒciency of our capital resources; our ability to comply with our debt covenants and lease obligations; and the impact of climate change, natural disasters and actual or threatened public health emergencies, including the ongoing COVID-19 pandemic.
  • 3. Anand Subramanian Principal Engineer, Apex a.subramanian@salesforce.com @anand13s Daniel Ballinger Director of Product Management, Apex dballinger@salesforce.com @FishOfPrey
  • 4. Challenges with Data Transformation Task: Ingest CSV data blob with Apex first_name, last_name, 
 /n Astro, Nomical, 
 ● csvString.split('/n'); ● csvLine.split(','); ● RFC 4180 ○ Double Quote delimiters ■ escaped - """"
  • 5. Build a Finite State Machine!
  • 6. What is DataWeave? MuleSoft’s functional programming language for data transformation. 1. Read and parse data from a given format 2. Transform it 3. Write it out as a target format Read Transform Write
  • 8. Payload: CSV first_name,last_name, company,address Abel,Maclead,"Rousseaux, Michael Esq","6649 N Blue Gum St,n New Orleans" DataWeave Example DW Script %dw 2.0 input payload application/csv output application/json --- payload Output: JSON [ { "first_name": "Abel", "last_name": "Maclead", "company": "Rousseaux, Michael Esq", "address": "6649 N Blue Gum St,nNew Orleans" } ] READ TRANSFORM WRITE
  • 9. Demo What does this look like in Apex?
  • 10.
  • 11. Q: What do I need to access this in Apex? A: It will be available everywhere Apex is currently* You don’t need to be a Mulesoft customer * Winter ’23 Developer Preview
  • 12. Sample Use Cases RFC-compliant CSV parsing and writing Turns out it's harder than just String.split(',') Serializing Apex Objects, but with a custom DateTime format In Apex today this requires using a custom JSONGenerator, or hand-crafting XML via Document Serialize/ Deserialize with Apex Reserved Words DataWeave inputs and outputs are collections of Apex primitives, reserved words are allowed Performant Custom Transformations For example, serialize an SObject, but remove the namespace from ïŹeld name keys, or remove __c suïŹƒx
  • 13. The anatomy of a DW script ïŹle Working with Script Parameters %dw 2.0 DataWeave Version input payload application/json Input types input attributes application/json input exchangeRate application/json output application/xml Output type var conversionRate=13.15 Constants fun toUpper(aString)=upper(aString) Functions --- Header/Body delimiter payload Script body for transforms https://sfdc.co/dwlangfun
  • 15.
  • 16. Scope and Limitations ● Developer Preview in Winter ’23 ○ Scratch Orgs only - with DataWeaveInApex feature ○ No Packaging support ● DW 2 Scripts are static via .dwl metadata ïŹles ● Environment interaction restricted ● Only built in modules are supported ● No Excel or Flat File format support ● Scripts contribute towards the Apex heap and CPU limits ● XML Entity Expansion isn’t supported
  • 17. ● Contact data ○ 2.32MB CSV ïŹle ○ 20,000 rows Before and Aer 35% Less Heap Usage 35% Less CPU Usage Apex Finite State Machine DataWeave in Apex List<List<String>> List<Contact> with ïŹelds
  • 18. Beyond the dev preview ● Beta Spring ’23 ● application/apex for input and output ● Packaging support (isolated within namespace) ● Static DataWeave script references DataWeave in Apex
  • 19. Apex Roadmap Coming Soon Longer Term Winter ’23 ● DataWeave in Apex Developer Preview ● User Mode Beta enhancements ● New Assert Methods ● Queueable depth behavior and reenquee timing ● ApexTypeImplementor to GA ● List Sorting via Comparator ● User Mode to GA ● Database.treeSave() Dev Preview ● Testing improvements ● User Mode + Permission Sets ● Generics ○ Database.queryWithBinds(soql, bindVariablesMap, accessLevel)
  • 20. How do I get started today? https://sfdc.co/DataWeaveInApex ● GitHub repo with setup instructions and examples ● Link to Trailblazer Community Group ● Content of this presentation Call to Action
  • 21. Q&A
  • 22. Join us for more sessions and demos! Time Session / Demo Location 3:00-3:40 PM What limits? Elastically scale using OSS with Functions Moscone West, Level 2 3:30 - 3:20 PM Python For Functions Developer Theater, Moscone West, Level 1 Until 4:15 PM Salesforce Functions Booth Platform Park Until 4:15 PM Heroku Booth Platform Park Until 4:15 PM Apex Booth Platform Park Until 4:15 PM Scale Apps Fast Booth IT Lodge & Campground Meet our speakers oïŹ€stage right after this session!
  • 23.