Unable to Send Messages Using Custom Triggers
Issue Scenario
When the disableSMSOnTrigger value is set to 0 the SMS History records are created but do not reach the portal. Also when the disableSMSOnTrigger value is set to 1, the SMS History records are created but do not reach the portal
Possible Causes
The possible reasons may cause this issue:
•If the disableSMSOnTrigger value is 0, we have to conduct a check on all future call limits before sending out an SMS. This does not allow the SMS to be sent to the portal if future methods are exhausted for the request.
•The Trigger which creates the SMS History record is usually invoked from either a batch or a future method. This results in 0 limits for future method invocations of the SMSUtility code request.
•If the disableSMSOnTrigger value is 1, then, the customer needs to perform the callout by themselves.
Solution
Follow the given procedure to resolve the issue:
1.Schedule the SMS History record creation or add it as a job that can be queued.
Or
Perform the callout in the batch context and then create the SMS History record later with the disableSMSonTrigger value as 1.
1 Comment
Unqustionably believe that which yyou said. Yourr faavorite
reason appeaed to bbe oon thhe nnet the simmplest thing tto be awaee of.
I saay too you, I certaainly get irkdd whie people
consider worries that hey pllainly do not know
about. Yoou maaged too hiit thhe nil uoon tthe topp ass well aas defined ouut tthe whole thing withhout having side efffect , peoploe could take a
signal. Willl prbably bbe basck tto geet more.
Thanks
my website :: xnxx18.pro