CRM Jobs on SQL Server
A number of Jobs related to CampusNexus CRM are created on the SQL Server on which CampusNexus CRM is installed.
Interaction-related Jobs
Job Name | File Name | Steps | Type | Frequency | Purpose |
---|---|---|---|---|---|
Talisma-Threader |
sproc_ |
sproc_threader |
DB-specific |
Every 15 minutes |
Main threading task |
Talisma-AutoAssignAllTeams |
sproc_ |
Exec sproc_Auto |
- |
Every 15 minutes |
Load balances all open Interactions belonging to the current Team in the mailbox. This is for users who are currently logged on |
Talisma-AutoAssign-RoundRobin |
sproc_Create |
Exec sproc_Auto |
- |
Every 15 minutes (starts at 0005 hrs) |
Load balances all open Interactions belonging to the current Team in the mailbox. This is for users who are currently logged on |
Talisma-AutoSuggest Team wise: Talisma-AutoSuggestAllTeams |
sproc_Create sproc_Create |
Exec sproc_Auto Exec sproc_Auto |
Team specific |
Every 15 minutes |
Updates the Canned Responses applicable to an Interaction based on the team to which it belongs, and on the Canned Responses belonging to the Team. Additional Information Common job that performs this operation for all Teams added - either Team-specific, or common jobs can be enabled. Default: allteam job enabled |
Talisma-PrioritizeGUID Team wise: Talisma-PrioritizeAllTeams |
sproc_Create |
Exec sproc_ Exec sproc_ |
Team-specific |
Every 15 minutes |
Updates the Canned Responses applicable to an Interaction based on the Team to which it belongs, and on the Canned Responses belonging to the Team. Additional Information Common job which will perform this operation for all Teams added - either Team specific, or common job can be enabled. Default: allteam job enabled |
Auto Response |
sproc_addjob_ |
exec [Talisma020209]. |
DB-specific |
Once daily |
Handles AutoResponses instead of the Threader. Not in use now. |
Auto Age |
sproc_ |
exec sproc_ |
DB-specific |
Once daily |
Ages the Interactions by a day |
Report-related Jobs
Job Name | File Name | Steps | Type | Frequency | Purpose |
---|---|---|---|---|---|
Talisma Report Schedule |
sproc_CreateJob |
Exec sproc_RunScheduled |
- |
As specified by the user |
- |
Run Queued Reports Jobs |
sproc_AddJob_ |
Exec sproc_RunBkGround |
Only on the Reports server. Uses the Analytics DB. Number of jobs is configurable through tblGlobalInfo. The default number is 10. |
Every 10 minutes |
Run reports that are requested to be run in the background by users. |
Maintenance Jobs
Job Name | File Name | Steps | Type | Frequency | Purpose |
---|---|---|---|---|---|
Stop Licensing |
sproc_ |
exec sproc_ |
DB-specific |
Every 6 hours |
On a trial license, this will disable all CampusNexus CRM Jobs, and users will not be able to work with CampusNexus CRM after this. |
sproc_AddJob_ |
exec sproc_ exec sproc_ |
DB-specific |
Once daily |
Deletes notifications that are older than 15 days. The default value 15 is stored in the PurgeNotificationsOlderThanXDays parameter in the tblGlobalInfo table. |
|
Purge Deleted |
sproc_addjob_ |
exec sproc_ |
DB-specific |
Every 6 hours |
Purges deleted Objects (Interactions, Orders, and Opportunities) from CampusNexus CRM. |
sproc_addjob_ |
exec sproc_ |
DB specific |
Once a week (Sunday, 0105 hrs) |
Reindexes tables Clean-up of Rule logs Deletes a configured count of phone sessions which do not have associated interactions and that are older than a configured number of days. |
|
Talisma-ChatDB-Maint |
sproc_ChatDB |
exec sproc_ |
- |
Once a week (Sunday, 0333 hrs) |
- |
Talisma-ReportDB-Maint |
sproc_Report_ |
exec sproc_ |
- |
Once a week |
- |
Talisma-WebtrackDB-Maint |
sproc_WebDB |
exec sproc_ |
- |
Once a week |
- |
Talisma Replication |
sproc_addjob_ |
exec sproc_ |
- |
Automatic (when SQL Server Agents starts) |
- |
Watchdog Job Talisma-MainDB-Watchdog Talisma-ReportDB-Watchdog Talisma-ChatDB-Watchdog Talisma-WebTrackDB-Watchdog |
sproc_addjob_ |
exec [Talisma020211]. exec [TalismaChat020211]. exec [TalReport020211]. exec [Talisma |
DB-specific |
Every 10 minutes (starts at 0003 hrs) |
Checks the health of running jobs and verifies whether they are actually running. |
Log Backup Talisma-MainDB-LogBackup Talisma-ChatDB-LogBackup Talisma-ReportDB-LogBackup Talisma-WebTrackDB-LogBackup |
sproc_ |
Exec sproc_Backup 2, Exec sproc_Backup 2, ' Exec sproc_Backup 2, 'TalReport020208', Exec sproc_Backup 2, |
DB-specific |
Every 30 minutes |
Takes an incremental backup of the DB based on the Transaction Log. Additional Information Runs every 30 minutes by default, and can be scheduled. |
Full Backup Talisma-MainDB-FullBackup Talisma-ChatDB-FullBackup Talisma-ReportDB-FullBackup Talisma-WebTrackDB-FullBackup |
sproc_ |
Exec sproc_Backup 1, Exec sproc_Backup 1, 'TalismaChat020208', Exec sproc_Backup 1, 'TalReport020208', Exec sproc_Backup 1, |
DB specific |
Once a week (Sunday, 1500 hrs) |
Takes a full backup of the DB Additional Information Runs every Sunday. Can be changed using the schedule backup. |
Talisma Trace |
sproc_addjob_ |
exec master.dbo.xp_ |
DB specific |
Automatic (when SQL Server Agents starts) |
Monitors the SQL Agent service. |
Talisma-CheckSpace |
sproc_addjob_ |
exec sproc_CheckSpace |
DB specific |
Every 6 hours |
Checks free space available on all the servers. |
Talisma Refrag Job |
sproc_addjob_ |
exec sproc_Refrag On failure of first step, |
Only on the Main server. DB specific. |
Once a month (first Sunday, 0333 hrs) |
If installed on SQL: • Several tables are reindexed. • Indexes of all CampusNexus CRM tables are defragmented. |
Job Talisma toggle jobs |
sproc_addjob_ |
exec sproc_Job |
Only on the Main server. DB specific. |
Once a month (first Sunday, 0400 hrs) |
If commented jobs remain commented, this job uncomments such jobs. |
sproc_addjob_ |
Exec sproc_ Exec sproc_ |
DB-Specific |
Every 15 minutes |
If archive is installed, create the identity column if it's not created. If archive is installed, it recreates the views to include data from Archive database for filters. |
|
Talisma-ChatDB-Maint |
sproc_addjob_ |
Exec [tlMedia].dbo. |
DB-Specific |
Occurs every week on Sunday at 03:33:00 AM |
Performs basic maintenance activity: • Shrinks the database files • Recreates the index • Clears the rule logs |
Talisma-ReportDB-Maint |
sproc_addjob_ |
Exec [tlAnalytics].dbo. |
DB-Specific |
Every week on Sunday at 03:33:00 AM |
Performs basic maintenance activity • Shrinks the database files • Recreates the index |
Import Jobs
Job Name | File Name | Steps | Type | Frequency | Purpose |
---|---|---|---|---|---|
Import Threader |
sproc_addjob_ |
exec sproc_ImportThreader |
- |
Once daily (0000 hrs) |
Imports mail from any PST file/mail storehouse to CampusNexus CRM. |
Import Contact |
sproc_addjob_ |
exec sproc_UpdateCustDetails update tblImportContactJobDetails set tStepText = N'Completed' update tblImportContactJobDetails set tStepText = N'Failed' |
DB specific |
Once daily (0000 hrs) |
Imports Contacts to CampusNexus CRM. |
Talisma-ProcessImportTable |
sproc_addjob_ |
exec [Talisma020209]. |
DB specific |
Automatic (when SQL Server Agents starts) |
Updates the records in ImportTables and starts ImportThreader job. |
Campaign-related Jobs
Job Name | File Name | Steps | Type | Frequency | Purpose |
---|---|---|---|---|---|
sproc_ |
EXEC sproc_ProcessComm |
DB specific |
Every day at 00:00:00 hours |
This job creates campaign communication records. |
|
sproc_ |
Exec sproc_CheckCampaign |
DB specific |
Every 30 minutes |
Runs the Job for 30 minutes to restart the campaign dispatcher if valid targets are stuck in the table tbloutgoingobms for more than 30 minutes. |
|
Talisma OBM Error Notification |
sproc_ |
Exec sproc_Send |
DB specific |
Every 2 hours |
Sends notifications associated with errors in outbound Mailers |
Talisma-Campaign-ProcessAllCampaigns |
sproc_ |
Exec sproc_ |
DB specific |
Every hour (starts at 0007 hrs) |
Processes the activated Campaigns and moves the Targets to the next step in the associated Campaign after the Targets have been processed in that step. |
Talisma-Campaign-ProcessExportRecords |
sproc_ |
Exec sproc_ |
DB specific |
Every 30 minutes (starts at 0015 hrs) |
After the Targets have been processed, Targets are exported to the file and path specified in the Bulk Export Configuration. Note: It is recommended to schedule this job 2 hours after the Talisma-Campaign-ProcessAllCampaigns is processed to ensure all processed Targets are available for export. |
Talisma-Campaign- |
sproc_ |
Exec sproc_ |
DB specific |
Every 6 hours (starts at 0200 hrs) |
Creates the Targets from Mailing Lists for non-recursive Campaigns. Additional Information Also starts when a Campaign is activated, and at the exact time when a Mailing List is scheduled. |
Talisma-Campaign- |
sproc_ |
Exec sproc_ |
DB specific |
Every 30 minutes (starts at 0012 hrs) |
Process replies sent for Campaigns. |
sproc_ |
EXEC sproc_ |
DB specific |
Every Sunday at 00:00:00 hours |
This job purges campaign communication records that are older than the count of days specified in the Purge Campaign Communication data older than n days option in Business Administrator. Orphaned campaign communication records are also purged regardless of whether they are older than the specified count of days. |
|
sproc_ |
Exec sproc_ |
DB Specific |
As specified by the user |
Displays the following details in the tblProcessSingleCampaign table: • The ID of the campaign • The date and time before which the campaign returned from running the sproc_DebugSingleCampaign stored procedure can be processed. |
Health Check Jobs
Job Name | File Name | Steps | Type | Frequency | Purpose |
---|---|---|---|---|---|
Talisma-Health Check |
sproc_HealthCheck |
Exec sproc_HealthCheck |
DB specific. Runs only on Main DB. |
Every 5 minutes (starts at 0000 hrs) |
Updates Health Check related tables with information from the DB. |
Other Jobs
Job Name | File Name | Steps | Type | Frequency | Purpose |
---|---|---|---|---|---|
Talisma- |
sproc_AddJob_ |
exec dbo.sproc_ |
DB-specific (Main DB) |
30 mins |
Monitors execution of the following modules: • Campaign Dispatchers • Job Service Dispatcher • Job Service Extractors • SMS Dispatchers • Templates • SMS Campaign Dispatchers • Notification Service |
Talisma-TableMonitoring |
sproc_AddJob_ |
exec dbo.sproc_ |
DB-specific (Main DB) |
60 minutes |
Monitors the growth of tables in Main database. |
Talisma-ResetCurren |
sproc_ResetCurrent |
Exec sproc_Reset |
DB-specific (Main DB) |
Every 24 hours |
Reset the number of Leads that are assigned using the Weighted Round Robin method. |
Talisma-Archive-New |
sproc_ArchiveNew.cql |
Exec sproc_ Exec sproc_ |
DB-specific |
Weekly on Sunday at 08:00:00 PM |
Move records from Main DB to Archive DB |
Talisma-Store |
sproc_StoreSMSDetails |
exec sproc_Store |
DB-specific |
Weekly on Sunday at 08:00:00 PM |
Move records from the tblSMSDetails table to the tblSMSReport table. |
Timer Based Rule |
sproc_addjob_ |
Declare @dNow as DateTime Set @dNow = GetDate() Exec sprocRunScheduled Exec sprocSchedule |
DB specific |
Scheduled by timer based rules. |
Fires timer-based rules. |
Audit Job |
sproc_Create |
osql -S “Talisma199” -d “Talisma020208” -E -Q sproc_ProcessEvents |
DB-specific (Main DB) |
Every 15 minutes (starts at 0009 hrs) |
Processes the audit events stored in the temporary table. |
Computed Property Job |
sproc_CreateJob |
osql -S “Talisma |
DB-specific (Main DB) |
Every 15 minutes (starts at 0009 hrs) |
Updates the values for computed Properties. |
Talisma- |
Sproc_addjob_ |
exec sproc_ |
- |
Once daily (0000 hrs) |
- |
Talisma- |
sproc_addjob_ |
Talisma-CreateView |
- |
Every 15 minutes |
- |
Talisma- |
sproc_CreateJob |
exec sprocCheck |
- |
Automatic (when the SQL Server Agent starts) Once daily (1200 hrs) The day after installation (0000 hrs) |
- |
Talisma- |
sproc_ Clean |
exec sproc_Clean |
- |
Once every 5 minutes |
- |
Talisma- |
sproc_ CreateDSTDates |
exec Sproc_Create |
- |
Every year on the first day of the month |
Runs at the beginning of every year to generate the DST dates for that year |
Talisma- |
sproc_Schedule sproc_Convert |
[GPP030224]..sproc_ |
- |
Updated dynamically. |
- |
Talisma- |
custompostscript.sql sproc_updateb custompostscript2.sql |
osql -E -S"LOST\I1" Exec sproc_updateb osql -E -S"LOST\I1" -d |
DB-specific |
Every 30 minutes daily |
For adding Microsoft SQL Server fields in the Media DB. |
Talisma- |
Sproc_UpdateSchedule |
Exec sproc_Update |
- |
Occurs every 1 minute |
Updates the next run date and time for all schedules |
Talisma- |
sproc_ReportCalculate |
exec sproc_Report |
DB Specific (Main DB) |
Every 4 hours |
Runs sproc_ |
Talisma- |
sproc_Defrag |
exec sproc_Defrag |
DB Specific (Main DB) |
Every 30 minutes |
Runs scheduled Job to start a specific campaign. |
Talisma-Campaign-AddTargetsFromFilter |
sproc_AddTargetsTo |
exec sproc_Add |
DB Specific (Main DB) |
Every 6 hours |
Job to add Targets to a Campaign from Filters. |
Talisma- |
sproc_Send |
exec sproc_Send |
DB Specific (Main DB) |
Every 30 minutes |
A scheduled job to start processing steps with outbound Mailers. |
Talisma- |
sproc_Update |
exec Sproc_Update |
DB Specific (Media DB) |
Every 5 minutes |
Updates load from Media to Main DB for Chat requests handled by each user. |
Talisma- |
sproc_Detect |
exec sproc_Detect |
DB Specific (Main DB) |
Every 5 minutes |
Used to log out users from Main DB. Users whose login sessions have stopped responding are logged out. |
Talisma- |
sproc_Purge sproc_DeleteMail sproc_DeleteMail sproc_DeleteMail sproc_DeleteMail |
exec [FreshMain]. exec [FreshMain]. exec [FreshMain]. exec [FreshMain]. exec [FreshMain]. |
DB Specific (Main DB) |
Every day at 12:00 AM. |
Deletes Mail Component Trace Information. |
Talisma- |
sproc_Create sproc_Disable |
exec exec Sproc_Create exec SprocDisable |
DB Specific (Main DB) |
Starts automatically when SQL Agent starts |
Creates Health Check Objects, Print Template and Link. |
Talisma- |
sproc_Purge sproc_Purge |
exec sproc_Purge exec sproc_Purge |
DB Specific (Main DB) |
Every day at 2:00 AM. |
Duplicate Interactions will not be created when any incoming Message (new mail / reply / forward / consult) is sent with multiple CampusNexus CRM Aliases in the To or Cc fields. |
Talisma- |
sproc_Route |
exec [tlMain].dbo. |
DB Specific (Main DB) |
Every 15 minutes. |
When a new mail comes into CampusNexus CRM after the Threader Job runs, this job is used to create the Interaction. |
Talisma- |
sproc_MediaRecords |
exec [tlMain].dbo. |
DB Specific (Main DB) |
No frequency set. |
Cleans history records of user availability for various Media. |
Talisma- |
sproc_ArchiveTeam |
exec [tlMain].dbo. |
DB Specific (Main DB) |
Every 4 hours |
Cleans up the Objects related to the deleted Team. |
Talisma- |
sproc_ProcessEvents |
osql -S "TALISMALAB97" |
DB Specific (Main DB) |
Every 15 minutes |
Processes the audit events for the Interaction, Contact, Account, Order, Opportunity, Campaign, Mailer, Offer, Product, Target, and Canned Response Objects. |
Talisma- |
sproc_10000_Process |
osql -S "TALISMALAB97" |
DB Specific (Main DB) |
Every 15 minutes |
Processes the audit events for the Link, Print Template, Health Check Objects, and custom Objects with the corresponding [ObjectTypeID]. |
Talisma- |
sproc_Custom |
osql -S "TALISMALAB97" |
DB Specific (Main DB) |
Every 15 minutes |
For supporting custom user reservation. By default it is disabled. |
sproc_AddJob_ |
Exec sproc_EndOrPurge |
DB specific |
Once daily (0000 hrs) |
Unsaved phone sessions will be purged. Saved phone sessions will be ended. |
|
Prerequisite The value of Recover active phone sessions upon login to Desktop or Web Client in Business Administrator must be set to No. Description Open phone sessions of users who have closed their browsers more than 5 minutes before the Talisma-ClearPhoneSessions job’s scheduled run time or who have automatically logged out from Web Client: • Will be purged if they were not saved. • Will be ended if the phone sessions were saved. Note In the Message object, while information about ended phone sessions will be updated in the Interaction Actions tab, the Live Actions tab will not be updated. |