RE: WebApi Query for Multiple Linked entities
Thank you. I tried this and got the below error. Am i doing any thing wrong? I have the Roll-up field on Contact form. Attached the screen shot as well.
UltimateWorkflowToolkit.CoreOperations: UltimateWorkflowToolkit.CoreOperations.System.RecalculateRollup]
[UWT: System: Recalculate Rollup Field]
Value of 'Record Reference' attribute equals to empty
Value of 'Rollup Field Name' attribute equals to 0
Value of 'Throw an Exception on Error' attribute equals to True
Error Message:
Unhandled Exception: Microsoft.Crm.CrmException: Unexpected exception from plug-in (Execute): UltimateWorkflowToolkit.CoreOperations.System.RecalculateRollup: System.Exception: Error converting string '' to EntityReference - Value cannot be null.
Parameter name: value
at Microsoft.Crm.Sandbox.SandboxCodeUnit.ProcessException(Exception originalException, IExecutionContext context, SandboxClient client, SandboxCallTracker callTracker, Boolean isSafeToRetry, DateTime performanceExecutionStartTime, SandboxTracker tracker, Guid parentExecutionId, CrmException& crmException, String& assemblyContents)
at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)
at Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)