Hi Ernesto,
This is the Log (I took off sensitive information)
Started scenario with empty id
Started Auth
Request text:
https://login.salesforce.com/services/oauth2/token
Request form value grant_type set to password
Request form value client_id set to 3MVG9sG9Z3Q1RlbcgfSDl7uk8gTcJ.KAzbtj4nMv8pgOop79Eqz6u7Xib7HXo0UNk4U2vD2dYHrgzK4YAIVEh
Request form value client_secret set to 3178323982465174381
Request form value username set to
[email protected]
Request form value password set to 9999995OjjtNYdmFpNZj459zqQoDGP4
Response text: {"access_token":"00D1a000000avz1!AR0AQAeUTuC2Qtolx_FbE8KHacH8T0WEDlql70Z9Hh9rkbJbGK8vwvLPUAo1nY5GyBJ1G_JMsmTgyc7_ouvyJ2xX0vp9VeXJ","instance_url":"
https://xxxxxxx.my.salesforce.com","id":"
https://login.salesforce.com/id/00D1a000000avz1EAA/0051a000000bBS2AAM","token_type":"Bearer","issued_at":"1543412975705","signature":"Jy/09mcjM12UJSPnuAeul915PYRyN0tRoEUizuKmF1w="}
Response finished
Variable Url set to
https://xxxxxx.my.salesforce.com
Variable AccessToken set to 00D1a000000avz1!AR0AQAeUTuC2Qtolx_FbE8KHacH8T0WEDlql70Z9Hh9rkbJbGK8vwvLPUAo1nY5GyBJ1G_JMsmTgyc7_ouvyJ2xX0vp9VeXJ
Finished Auth
Request text:
https://xxxxxxx.my.salesforce.com/services/data/v37.0/search/?q=FIND {5132744386} IN PHONE FIELDS RETURNING Contact(Id,FirstName,LastName,AssistantPhone,Fax,HomePhone,MobilePhone,OtherPhone,Phone,Email,AccountId),Lead(Id,FirstName,LastName,Fax,MobilePhone,Phone,Email,Company),Account(Id,Name,Fax,Phone)
Response text: {"searchRecords":[{"attributes":{"type":"Contact","url":"/services/data/v37.0/sobjects/Contact/0031a00000qeWVvAAM"},"Id":"0031a00000qeWVvAAM","FirstName":"MxxxxxA","LastName":"DxxxxxA","AssistantPhone":null,"Fax":null,"HomePhone":null,"MobilePhone":null,"OtherPhone":null,"Phone":"(51) 3274-4386","Email":"
[email protected]","AccountId":"0011a00000EgFa8AAF"}]}
Response finished
Variable Id set to 0031a00000qeWVvAAM
Variable FirstName set to MxxxxxA
Variable LastName set to DxxxxA
Variable AccountName set to
Variable LeadCompanyName set to
Variable Phone set to (51) 3994-4996
Variable MobilePhone set to
Variable HomePhone set to
Variable AssistantPhone set to
Variable OtherPhone set to
Variable Fax set to
Variable Email set to
[email protected]
Variable AccountId set to 0011a00000EgFa8AAF
Started GetAccountName
Request text:
https://integreti.my.salesforce.com/services/data/v37.0/query/?q=SELECT Name from Account where Id = '0011a00000EgFa8AAF'
Response text: {"totalSize":1,"done":true,"records":[{"attributes":{"type":"Account","url":"/services/data/v37.0/sobjects/Account/0011a00000EgFa8AAF"},"Name":"XXXX XXXXXXX DO BRASIL LTDA"}]}
Response finished
Variable AccName set to XXXX XXXXXXXXX DO BRASIL LTDA
Finished GetAccountName
Finished scenario with empty id
Result obtained