Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics CRM 2016 Goals Rollup Calculation Not Auto Calculate

Posted on by 265

Does anyone know where is the system job for CRM 2016 Goals Rollup Calculation stored in database?

I noticed the CRM system job default Goal rollup job is missing. I am exploring on how to add it back and auto run it.

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics CRM 2016 Goals Rollup Calculation Not Auto Calculate

    I was able to re-create the Goal Rollup Job by runing this query: 

    exec sp_executesql N'insert into [AsyncOperationBase]([OwningBusinessUnit], [DependencyToken], [OperationType], [StateCode], [RecurrencePattern], [Data], [OwnerIdType], [CorrelationId], [RecurrenceStartTime], [TimeZoneRuleVersionNumber], [CreatedBy], [MessageName], [OwnerId], [Depth], [CorrelationUpdatedTime], [ModifiedBy], [ModifiedOnBehalfBy], [AsyncOperationId], [Subtype], [ModifiedOn], [CreatedOn], [Name], [StatusCode]) values (@OwningBusinessUnit0, NULL, @OperationType0, @StateCode0, @RecurrencePattern0, NULL, @OwnerIdType0, @CorrelationId0, @RecurrenceStartTime0, @TimeZoneRuleVersionNumber0, @CreatedBy0, NULL, @OwnerId0, @Depth0, @CorrelationUpdatedTime0, @ModifiedBy0, NULL, @AsyncOperationId0, @Subtype0, @ModifiedOn0, @CreatedOn0, @Name0, @StatusCode0)',N'@AsyncOperationId0 uniqueidentifier,@OwningBusinessUnit0 uniqueidentifier,@OperationType0 int,@StateCode0 int,@RecurrencePattern0 nvarchar(200),@OwnerIdType0 int,@CorrelationId0 uniqueidentifier,@RecurrenceStartTime0 datetime,@TimeZoneRuleVersionNumber0 int,@CreatedBy0 uniqueidentifier,@OwnerId0 uniqueidentifier,@Depth0 int,@CorrelationUpdatedTime0 datetime,@ModifiedBy0 uniqueidentifier,@Subtype0 int,@ModifiedOn0 datetime,@CreatedOn0 datetime,@Name0 nvarchar(200),@StatusCode0 int',@AsyncOperationId0='4D1D25D5-8A71-4E31-BAB5-D1866147E5DB',@OwningBusinessUnit0='FILL WITH YOUR MAIN BUSINESS ID',@OperationType0=40,@StateCode0=0,@RecurrencePattern0=N'FREQ=DAILY',@OwnerIdType0=8,@CorrelationId0='0D2B727E-361F-4AD3-8FE5-6E9A21550CF7',@RecurrenceStartTime0='2017-03-30 14:00:00',@TimeZoneRuleVersionNumber0=0,@CreatedBy0='SYSTEM USER ID',@OwnerId0='SYSTEM USER ID',@Depth0=0,@CorrelationUpdatedTime0='2017-03-30 14:00:00',@ModifiedBy0='SYSTEM USER ID',@Subtype0=1,@ModifiedOn0='2017-03-30 14:00:00',@CreatedOn0='2017-03-30 14:00:00',@Name0=N'Goal Rollup job',@StatusCode0=0

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics CRM 2016 Goals Rollup Calculation Not Auto Calculate

    Any update on this issue?

    I experience the same issue on my CRM 2016.

    Thank you!

  • Suggested answer
    PS Profile Picture
    PS 23,577 on at
    RE: Dynamics CRM 2016 Goals Rollup Calculation Not Auto Calculate

    Can you go to any goal and click on recalculate, you might be able to get it back.

    Usually, you cannot delete goal system job as it is required by the system. Even if you click on delete, system will throw an error.

    I dont know, How you managed to delete it; if recalculation of Goals does not generate a new job, please contact Microsoft support, they might help you to restore it.

  • Steve Fu Profile Picture
    Steve Fu 265 on at
    RE: Dynamics CRM 2016 Goals Rollup Calculation Not Auto Calculate

    Thanks Prashant.

    I tried the Views but the Goal Rollup Job record is missing in system. Any idea on how to put back the job?

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Dynamics CRM 2016 Goals Rollup Calculation Not Auto Calculate

    Hi Steve,

    Please change the view to "Recurring Jobs". You can find the "Goal Roll-up Job" in that list.

  • Suggested answer
    PS Profile Picture
    PS 23,577 on at
    RE: Dynamics CRM 2016 Goals Rollup Calculation Not Auto Calculate

    its right there, you just have to change the view to 'recurring jobs'

    8400.1.PNG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans