function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sfdc wonderSfdc wonder 

Response from 3rd Party


I hav one requirement.we developing one App which is integrated to 3rd party,here intigrations involve both ways of Leads syncing.
Here my 3rd party having Monthly limit of new Leads by user i need to achieve same functionality in Salesforce side.
i wrote total syncing code in Future callouts.Here whenever monthly limit reached ,3rd party sent a response as 'Your limit reached'.

i get the response but struct at displaying response Message through triggger(by using addError method).

i done some ways:

1)In my future class,insert response in temp object .and get that  Present response in trigger after calling future Method and display the message using addError method.

But i fail,may be the reason is trigger is not waitng for resopnse.

can any one Help Me for this

Hi Ram, 

This has been addressed in your other thread,