web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error when running CalculateRollupfield workflow

(0) ShareShare
ReportReport
Posted on by 1,328

I have the custom workflow msdyncrmWorkflowTools. When I run the workflow I get this error (see first screenshot). The '28.25' is the current value I have in my rollup field "Sum of Total Durations" that I want to run the workflow on.

rolluperror.png

rolluperror.png

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    What is the error?

  • epark06 Profile Picture
    1,328 on at

    2605.rolluperror.png

    The '0.00' is the current value on the rollup field I want to run the workflow on.

  • epark06 Profile Picture
    1,328 on at
    Plugin Trace:
    
    [msdyncrmWorkflowTools: msdyncrmWorkflowTools.CalculateRollupField]
    [msdyncrmWorkflowTools (1.0.10.0): msdyncrmWorkflowTools.CalculateRollupField]
    Load CRM Service from context --- OK
    ParentObjectTypeCode=10140--ParentId=0b34c2db-9526-e711-80dc-005056bec900
    
    	
    	[Microsoft.Crm.Rollup: Microsoft.Crm.Rollup.CalculateRollupFieldPlugin]
    	[500011e9-5188-4bdb-b5b8-d16d7b387871: CalculateRollupFields]
    	
    	
    
    
    Error Message:
    
    Unhandled Exception: Microsoft.Crm.CrmException: 'new_weeklytimecard' entity doesn't contain attribute with Name = '21.00'.
       at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)
       at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)
  • Verified answer
    David Jennaway Profile Picture
    14,065 on at

    The FieldName parameter should be set to the name of the rollup field (e.g. new_myrollupfield). It looks like you're setting it to the current value of the field (e.g. 21.00)

  • epark06 Profile Picture
    1,328 on at

    [quote user="David Jennaway"]

    The FieldName parameter should be set to the name of the rollup field (e.g. new_myrollupfield). It looks like you're setting it to the current value of the field (e.g. 21.00)

    [/quote]

    That worked, thank you so much!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans