Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
MuleSoft Criando fluxo preconfigurado
Search
Alex teles
August 09, 2016
Education
67
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MuleSoft Criando fluxo preconfigurado
MuleSoft Criando fluxo preconfigurado
Alex teles
August 09, 2016
More Decks by Alex teles
See All by Alex teles
Mulesoft configurando conexão com banco AS400 DB2
alexteles10
0
120
Chamando um flow de dentro do Transform Message
alexteles10
0
85
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
82
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
53
MuleSoft mock com set payload
alexteles10
0
66
Como excluir o conector do facebook Do anyponit
alexteles10
0
86
Baixando conectores que não são nativos
alexteles10
0
69
Editor do Anypoint
alexteles10
0
58
MuleSoft Como fazer um when dentro de um when
alexteles10
0
76
Other Decks in Education
See All in Education
El Clima de España. Tema 2 (PPT)
juanmartin2026
0
19k
エビデンスベースト英語教育入門:エビデンスは科学的知見(だけ)ではない,制度だ!
terasawat
0
230
EL GEOPARQUE MUNDIAL UNESCO VOLCANES DE CALATRAVA: DE LA INVESTIGACIÓN CIENTÍFICA A LA TRANSPOSICIÓN DIDÁCTICA EN EL AULA
juanmartin2026
0
32k
Science Tokyo University for International Research Excellence scheme_April 2026
sciencetokyo
PRO
0
520
Introduction to Accounting
bvr7352
0
270
Fundamentos, Caracteristicas y Aplicaciones de los Modulos NumPy , Matplotlib y Pandas
robintux
0
300
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 2
hiola
0
10k
Introduction to M&A
bvr7352
0
240
LEGO Geometry Tutorial
arnoknobbe
0
720
HTML5 and the Open Web Platform - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
3
3.6k
形骸化しない社内勉強会の取り組み - オーナーシップの作り方 / In-house study session
soudai
PRO
1
430
Sekolah Sabat - Triwulan 3 2026 - Pelajaran 13
hiola
0
11k
Featured
See All Featured
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
310
Site-Speed That Sticks
csswizardry
13
1.6k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
How to Ace a Technical Interview
jacobian
280
24k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
Designing for humans not robots
tammielis
254
26k
Typedesign – Prime Four
hannesfritz
42
3.2k
Faster Mobile Websites
deanohume
310
32k
Transcript
MuleSoft
Criado exemplos pré-configurado
File/New/Project from Example
Existe vários exemplos já pré- configurado para você se basear
na sua criação
Abriremos esse
Tudo criado automaticamente
Configuração básica
Configuração básica Esse valores são preenchidos no arquivo de properties
Gerado pele Mule
None
Cria essa variável como lista
None
Adiciona o resultado dentro da variável response que é uma
lista
<!– XML Gerado --> <?xml version="1.0" encoding="UTF-8"?> <mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:jetty="http://www.mulesoft.org/schema/mule/jetty" xmlns:metadata="http://www.mulesoft.org/schema/mule/metadata" xmlns:mulexml="http://www.mulesoft.org/schema/mule/xml" xmlns:sfdc="http://www.mulesoft.org/schema/mule/sfdc" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking" xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/sfdc http://www.mulesoft.org/schema/mule/sfdc/current/mule-sfdc.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule- tracking-ee.xsd http://www.mulesoft.org/schema/mule/jetty http://www.mulesoft.org/schema/mule/jetty/current/mule-jetty.xsd http://www.mulesoft.org/schema/mule/ee/dw http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/current/mule-xml.xsd">
<sfdc:config doc:name="Salesforce" name="Salesforce" password="${sfdc.password}" securityToken="${sfdc.securityToken}" username="${sfdc.username}"/> <http:listener-config doc:name="HTTP Listener Configuration"
host="0.0.0.0" name="HTTP_Listener_Configuration" port="8081"/> <flow name="showFormFlow"> <http:listener allowedMethods="GET" config-ref="HTTP_Listener_Configuration" doc:name="HTTP" path="/"/> <sfdc:describe-global config-ref="Salesforce" doc:name="Salesforce"/> <dw:transform-message doc:name="Tranform to HTML set of option values" metadata:id="8eb02dfc-9b91-4a58-bf41- 9cbbc6e1545a"> <dw:input-payload doc:sample="DescribeGlobalResult.dwl"/> <dw:set-payload><![CDATA[%dw 1.0 %output application/xml --- div: { (payload.sobjects map { option @(value: $.name): $.label }) }]]></dw:set-payload> </dw:transform-message>
<object-to-string-transformer doc:name="Object to String" mimeType="text/html"/> <parse-template doc:name="Parse Template" location="./src/main/resources/retrieval/index.html"/> </flow>
<flow name="salesforceDataRetrievalFlow"> <http:listener allowedMethods="POST" config-ref="HTTP_Listener_Configuration" doc:name="HTTP" path="/"/> <sfdc:query-all config-ref="Salesforce" doc:name="Salesforce" query="#["SELECT id, name " + (payload.field.isEmpty() ? "" : "," + payload.field) +" from " + payload.object +" where " + payload.searchKey + " like '%" + payload.searchValue +"%'"]"/> <set-variable doc:name="Set blank response" value="#[[]]" variableName="response"/> <foreach doc:name="For Each"> <byte-array-to-string-transformer doc:name="Byte Array to String"/> <set-variable doc:name="Set response variable" value="#[flowVars.response + payload]" variableName="response"/> </foreach> <set-payload doc:name="Set response" value="#[response]"/> <byte-array-to-string-transformer doc:name="Byte Array to String"/> <logger doc:name="Log results" level="INFO" message="Result: #[payload]"/> <catch-exception-strategy doc:name="Catch Exception Strategy"> <set-payload doc:name="Set Payload" value="Invalid Salesforce query."/>
Obrigado chegamos ao Fim