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 Recuperando dados do salesforce
Search
Alex teles
August 10, 2016
Education
0
39
MuleSoft Recuperando dados do salesforce
MuleSoft Recuperando dados do salesforce2
Alex teles
August 10, 2016
Tweet
Share
More Decks by Alex teles
See All by Alex teles
Mulesoft configurando conexão com banco AS400 DB2
alexteles10
0
86
Chamando um flow de dentro do Transform Message
alexteles10
0
68
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
63
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
35
MuleSoft mock com set payload
alexteles10
0
40
Como excluir o conector do facebook Do anyponit
alexteles10
0
64
Baixando conectores que não são nativos
alexteles10
0
56
Editor do Anypoint
alexteles10
0
39
MuleSoft Como fazer um when dentro de um when
alexteles10
0
40
Other Decks in Education
See All in Education
Ch2_-_Partie_1.pdf
bernhardsvt
0
120
Chapitre_1_-__L_atmosphère_et_la_vie_-_Partie_1.pdf
bernhardsvt
0
230
認知情報科学科_キャリアデザイン_大学院の紹介
yuyakurodou
0
140
Adobe Express
matleenalaakso
1
7.6k
情報処理工学問題集 /infoeng_practices
kfujita
0
160
ISMS審査準備ブック_サンプル【LRM 情報セキュリティお役立ち資料】
lrm
0
510
1127
cbtlibrary
0
170
Flinga
matleenalaakso
2
13k
ルクソールとツタンカーメン
masakamayama
1
1.1k
Sähköiset kyselyt, kokeet ja arviointi
matleenalaakso
1
17k
Image Processing 1 : 1.Introduction
hachama
0
430
Master of Applied Science & Engineering: Computer Science & Master of Science in Applied Informatics
signer
PRO
0
640
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
GraphQLとの向き合い方2022年版
quramy
44
13k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Practical Orchestrator
shlominoach
186
10k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Music & Morning Musume
bryan
46
6.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Transcript
None
Recuperando dados com conector do salesforce Transform Message
para recuperar os dados Imprimindo no log
Poll SalesForce Transform Message Logger
Como deve ficar
testo do log
<logger message="====Inicio======" level="INFO" doc:name="Logger"/>
None
<poll doc:name="Poll"> <schedulers:cron-scheduler expression="0 0 1 1 *
? 2016"/> <logger message="====Inicio======" level="INFO" doc:name="Logger"/> </poll>
None
<sfdc:query config- ref="Salesforce__Basic_Authentication" query="dsql:select CPF__c , Idade__c , Nome__c
from Informacoes__c" doc:name="Salesforce"/>
None
None
<dw:transform-message doc:name="Transform Message"> <dw:set-payload><![CDATA[%dw 1.0 %input payload
application/java %output application/json --- payload]]></dw:set-payload>
None
None
None
<?xml version="1.0" encoding="UTF-8"?> <mule xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" xmlns:schedulers="http://www.mulesoft.org/schema/mule/schedulers" xmlns:sfdc="http://www.mulesoft.org/schema/mule/sfdc" xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" 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/sfdc http://www.mulesoft.org/schema/mule/sfdc/current/mule-sfdc.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/schedulers http://www.mulesoft.org/schema/mule/schedulers/current/mule- schedulers.xsd http://www.mulesoft.org/schema/mule/ee/dw http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd"> <sfdc:config name="Salesforce__Basic_Authentication" username="${sales.user}" password="${sales.password}" securityToken="${sales.token}" doc:name="Salesforce: Basic Authentication"/> <flow name="salesforcequeryFlow"> <poll doc:name="Poll"> <schedulers:cron-scheduler expression="0 0 1 1 * ? 2016"/> <logger message="====Inicio======" level="INFO" doc:name="Logger"/> </poll> <sfdc:query config-ref="Salesforce__Basic_Authentication" query="dsql:select CPF__c , Idade__c , Nome__c from Informacoes__c" doc:name="Salesforce"/> <dw:transform-message doc:name="Transform Message"> <dw:set-payload><![CDATA[%dw 1.0 %input payload application/java %output application/json --- payload]]></dw:set-payload> </dw:transform-message> <logger message="#[message.payloadAs(java.lang.String)]" level="INFO" doc:name="Logger"/> </flow> </mule>
Obrigado Fim