Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MuleSoft Criando fluxo preconfigurado
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Alex teles
August 09, 2016
Education
60
0
Share
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
100
Chamando um flow de dentro do Transform Message
alexteles10
0
81
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
75
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
48
MuleSoft mock com set payload
alexteles10
0
58
Como excluir o conector do facebook Do anyponit
alexteles10
0
73
Baixando conectores que não são nativos
alexteles10
0
63
Editor do Anypoint
alexteles10
0
49
MuleSoft Como fazer um when dentro de um when
alexteles10
0
70
Other Decks in Education
See All in Education
[2026前期火5] 論理学(京都大学文学部 前期 第3回)「形式言語と四つのキーワード:メタ・構成・意味論・ハーモニー」
yatabe
0
430
[2026前期火5] 論理学(京都大学文学部 前期 第4回)「 ならば(→)の導入と証明ネット」
yatabe
0
330
応募課題(’25広島)
forget1900
0
1.3k
From Participation to Outcomes
territorium
PRO
0
450
2026年度春学期 統計学 第2回 統計資料の収集と読み方 (2026. 4. 16)
akiraasano
PRO
0
150
Design Guidelines and Principles - Lecture 7 - Information Visualisation (4019538FNR)
signer
PRO
0
3k
Human-AI Interaction - Lecture 11 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1k
fake vs real
latrrr
0
120
生成AI時代の情報発信
molmolken
0
120
Course Review - Lecture 13 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2.3k
教育現場から見た Ruby on Rails
yasslab
PRO
0
150
SARA Annual Report 2025-26
sara2023
1
340
Featured
See All Featured
A Soul's Torment
seathinner
6
2.8k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Practical Orchestrator
shlominoach
191
11k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
530
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
180
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
390
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Test your architecture with Archunit
thirion
1
2.2k
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