July 2023 - Version 3.42
  • 18 Jul 2023
  • 4 Minutes to read
  • Dark
    Light

July 2023 - Version 3.42

  • Dark
    Light

Article summary

Enhancements

Permission Set

Users who are assigned the Blackthorn Messaging Admin User permission set can only access the Messaging Admin page.

permission set_1Users who do not have access

 permission set_2Users who have access

The Blackthorn Messaging Admin User permission set provides users with edit access to all Blackthorn Messaging related objects, fields, visualforce pages, and the Messaging Admin tab.

permission set_3

Scheduled Job (Admin)

Start a Scheduled Job

An Admin can only schedule a job if that job starts on the Messaging Admin tab. Complete the steps below to start using Scheduled Jobs.

  1. Go to the Blackthorn Messaging app.
  2. Go to the Messaging Admin tab.
  3. Click Configuration Settings in the left-hand navigation bar.
  4. Click Scheduled Jobs.
  5. Click START.
    Scheduled Job_11

Scheduled Job_21

Stop a Scheduled Job

If there are pending scheduled jobs in the queue, an Admin cannot stop the scheduled jobs. All of the currently scheduled jobs must be completed before the process can be stopped.

The Admin will see the warning icon next to the STOP button when there are jobs scheduled.
Scheduled Job_31

After the queue is empty and the Admin clicks STOP, they will receive the following confirmation message.
Scheduled Job_41

How to Replicate the Issue
If a user performs the steps in the following use case, they will receive an error in the confirmation message after clicking OK.

  1. Open the Scheduled Jobs tab on a new page in your web browser.
  2. Click START (keep the tab open).
  3. Go to a Contact record and schedule a message from a record level component (RLC).
  4. Go back to the original page where you stopped the job.
  5. Click OK in the confirmation message.
    Scheduled Job_51

The user will receive an error message stating that we are unable to stop the job due to scheduled messages.

Schedule a Message (RLC)

Users will not be able to schedule a message from the record level component (RLC) until an Admin starts the Scheduled Job in the Messaging Admin configuration settings. The “Schedule for Later” icon will also be disabled.
Schedule Message_11

If a user tries to schedule a message and the Scheduled Job is not started, they will receive the following error message.
Schedule Message_21

How to Replicate the Issue
If a user performs the steps in the following use case, they will receive an error in the confirmation message after clicking Schedule Message.

  1. Go to the Messaging Admin tab.
  2. Click Configuration Settings in the left-hand navigation bar.
  3. Click the Scheduled Jobs tab.
  4. Click START.
  5. Navigate to a Contact record and try to schedule a message.
  6. Go back to the Scheduled Jobs tab and click STOP.
  7. Go back to the Contact record and click the Schedule Message button.

The user will see the error message.

Bug Fixes

Apex Errors

Description

Users received the following Apex Error from Salesforce intermittently when they sent messages from a Lead record.
ET1318_pic11


ET1318_pic21

Resolution

The Scheduled Jobs setting was added to the Administration Configuration Settings to allow Admins to start/stop the job. A START / STOP button was added to control messaging scheduling from the record level component.
ET1318_pic31

Apex Script Unhandled Exceptions after Messaging Upgrade

Description

After upgrading to the most recent Messaging release (3.36.3), Apex errors occurred.
ET1678_pic1

ET1678_pic2

ET1678_pic3

Resolution

This issue happened when a non-Admin user tried to send Bulk SMS and messages using the Invocable Method. The permission issue that happened in the background was due to the Salesforce release.

ViewAllData or ViewAllRecords Permissions

Description

An Apex Error required all users to have ViewAllData or ViewAllRecords permissions.

ERROR:
Apex script unhandled exception by user/organization: 0054y000007cso9/00D30000000103G
Failed to process Queueable job for class simplesms.Queueable_SendMessage for job ID 7074y00009EEyWJ.
caused by: System.SecurityException: ViewAllData or ViewAllRecords required to access external id fields which do not have a unique index
Class.simplesms.SimpleSMSUtils.updateSMSStatusAndBody: line 1945, column 1
Class.simplesms.Queueable_SendMessage.processSingleSms: line 82, column 1
Class.simplesms.Queueable_SendMessage.execute: line 55, column 1

ET1768_pic1

Resolution

This issue happened when a non-Admin user tried to send Bulk SMS and messages using the Invocable Method. The permission issue that happened in the background was due to the Salesforce release.

Apex Error: (CORE.AKCRON_JOB_DETAIL) Violated

Description

The following error occurred.

Apex script unhandled exception by user/organization: 0053g000000gLXa/00D30000000103G
Scheduled job 'BlackthornMessengerScheduler 10-26-2022 13:09:38' threw an unhandled exception.
caused by: System.AsyncException: could not store job: BlackthornMessengerScheduler 10-26-2022 13:10:01 orgId: 00D30000000103G common.exception.SqlDupValOnIndexException: ORA-00001: unique constraint (CORE.AKCRON_JOB_DETAIL) violated
ORA-06512: at "SNEEZY.UDDDMLCRONJOBDETAIL", line 32
ORA-06512: at "SNEEZY.CCRONJOBDETAIL", line 95
ORA-06512: at line 1
{call cCronJobDetail.insert_detail(?,?,?,?,?,?,?,?,?,?,?)}
{call cCronJobDetail.insert_detail(?,?,?,?,?,?,?,?,?,?,?)}
Class.simplesms.ScheduledBatchRLC.validateScheduledJob: line 294, column 1
Class.simplesms.ScheduledBatchRLC.execute: line 87, column 1

Resolution

The Messaging Messenger Scheduler will now always run in the back end.

Scheduled Messages not Being Sent at the Correct Time

Description

Scheduled messages are not being sent at the correct time. For instance, a user scheduled messages from a Campaign to be sent at 12:00 pm, but the message was sent at 12:00 am.

See the image below for an example Campaign where we recently tested and recreated this behavior.

  • Messages were scheduled for 6/3/2023 at 12:55 PM (EDT or UTC-04:00)
  • Messages were sent on 6/4/2023 at 12:55 AM (EDT or UTC-04:00)

ET2001_pic11

How to Replicate the Issue

  1. Open Blackthorn Messaging.
  2. Click the Contacts tab.
  3. Click on a test Contact record. (Use your cell phone number as the Contact’s phone number.)
  4. Click Send New Message.
  5. Write a message and schedule for a later time.

The Message will not be sent at that time.

Resolution

The time zone conversion will no longer depend on the subscriber’s time zone.

Error Popping Up

Description

After opening an SMS Widget, the user received an error.
ET2153_pic11

ET2153_pic21

How to Replicate the Issue
Open the SMS Utility in Salesforce.

Resolution

The Utility Component has been renamed.

Change the SF Classic "Send Bulk SMS" Button Label

Description

The Lightning and Classic versions of the Send Bulk SMS buttons had the same label, making it impossible to differentiate between the two in a multi-select picklist.
ET2161_pic11

Resolution

The Classic Salesforce button label has been changed to Send Bulk SMS (Classic). The Lightning Salesforce button label will remain as Send Bulk SMS.