Salesforce Integration - Update & Upsert - Mule 4
Вставка
- Опубліковано 29 сер 2024
- ***************************************************************************************
Links for other videos:
Dataweave: • DataWeave
Flow Control: • Flow Control
Mule scopes: • Mule Scopes
Mule Basics & Miscellaneous : • Mule Basics
Error Handling: • Error Handling
File Module: • File Module
Object Store: • Object Store
Database : • Database Module
VM Connector: • VM Connector
Batch Processing: • Batch Processing
Salesforce & Mulesoft Integration: • Salesforce - Mulesoft ...
HTTPS (1 way SSL & 2 way SSL): • HTTPS
Munits (created Manually): • Munits
Transaction Management: • Transaction Management
Alerts & Monitoring: • Alerts & Monitoring
Anypoint MQ: • Anypoint MQ
Clear explanation, thank you
Great Video.......... Thanks for video. My Query is from QA Prespective, what we can test in Mulesoft ? For example QA can test Mock Service URl (in which RAMl is used). What other things can be tested
@Subina Chhabra,
QA guys will test the mule apis once mule apis were deployed to QA environment of Mulesoft. They will have to get the QA endpoints and will have to do the testing for negative & positive scenarios from postman.
According to the test case you need to prepare the payload/input too. If there were any bugs while testing... you can raise a bug and assign to the corresponding developer.
How to send date i am getting an error for dates
But i don't want to insert
hi bro nice explination about salceforce connectors, Actually I have a doubt like we are always deals with Standard objects(Contact, Account...so on) but we can deal with the custom objects in the same manner? if yes, plz do videos on custom object also.
Yes we can, But it is the job of salesforce developer or admin.
Hi,
Could you please suggest how to upsert a single object
I think, whether it is single or multiple you should pass in an array....can you try ?
nice explanation .. qq in upsert there are three paylaods, 1 is insert and another one is update and the third one has some dummy duplicate record(multiple records and failure case) what happens over all successful status true or false? will other two success and only this one failure?
your response is appreciated.
@Sree Ram
developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_dml_examples_upsert.htm
Please refer this. Overall status should be "false" as it will raise an error in case of dummy or duplicate record and other two should be inserted & updated successfully.
well explained. wanted to know, is there any way to identify whether it was an update or insert operation based on error response ? thanks in advance
no we can't identify...
i try to same as but this erro was coming
"payload": {
"created": false,
"success": false,
"id": null,
"errors": [
{
"duplicateResult": null,
"message": "Email: more than one record found for external id field: [0035i00000JvC6TAAV, 0035i00000JvBfNAAV, 0035i00000JvC64AAF, 0035i00000JvBejAAF, 0035i00000JvC2lAAF]",
"fields": [
"Email"
],
"statusCode": "DUPLICATE_EXTERNAL_ID"
}
]
},
"id": null,
"statusCode": "DUPLICATE_EXTERNAL_ID",
"successful": false
}
],
"successful": false
}
please suggest what is the error
it's clear from the error response, duplicate_external_id, did you define a field in salesforce object manager as a external id ?
Hello great information, do you have video for integration on salesforce side like it was mostly from mulesoft perspective so!!
Hi P B, No I don't have any such video as of now.
@@IntegrationWorld so in this video for upsert operation do we need code on salesforce side or only mulesoft side ?
@@PB-vm4bq we have to set a field in Salesforce object (the one which you are working on) as external id.... that's what we have to do in Salesforce object manager ...
@@IntegrationWorld so okay I am assuming no code required on salesforce side !! Thank you so much for your informative video and found your video at right time 😃