If you have active validation rule on data it would fail and you would need to handle business logic accordingly if you want to re-insert by storing failed record in new custom object and process data as per your requirement.
I thak you for replying. If the data is processed asynronous, the resources might not be available, still the user will not be afffected by this approach?
All I want to know is an approach that will not make the user wait, no latency, no delay in processing of failed validation data etc. Since the repsone data has to be updated in salesforce inorder for the record to be saved by the user. Opportunity, order creation in external system, order status, number and order quantity have to be upated on the opportunity record, so that the agent/user can save the record.
You are right records will be executed whenever resources are avaiable and in chunks, however it would be processed through API integration user at back end or you might have dedicated user for integration purpose.
Salesforce API user https://help.salesforce.com/s/articleView?id=000331470&type=1
Please mark as Best Answer if above information was helpful.
Thanks,
Please advice me on how we would be able to save the record since the validation rule doesn't let us.
Hope this helps.
Thanks,
If the callout is from UI (button) where the user is waiting for a response, will this approach work? Since there will be time contraint.
Please mark as Best Answer if above information was helpful.
Thanks,
I thak you for replying. If the data is processed asynronous, the resources might not be available, still the user will not be afffected by this approach?
All I want to know is an approach that will not make the user wait, no latency, no delay in processing of failed validation data etc. Since the repsone data has to be updated in salesforce inorder for the record to be saved by the user.
Opportunity, order creation in external system, order status, number and order quantity have to be upated on the opportunity record, so that the agent/user can save the record.
Salesforce API user
https://help.salesforce.com/s/articleView?id=000331470&type=1
Please mark as Best Answer if above information was helpful.
Thanks,