This project has moved and is read-only. For the latest updates, please go here.

Query Values : NULL exception

Dec 2, 2016 at 9:31 PM
Hi Demian,

first congratulations, this is a great tool.

i have massive Problem with query value step.

I have tested several text fields, always the same error message.
What am I doing wrong, this is a simple loopup from account to new Entity called dw_gpreferenzdaten , i'm sure I'm using the correct field names.

[msdyncrmWorkflowTools: msdyncrmWorkflowTools.QueryValues]

[msdyncrmWorkflowTools ( Query Values]

Load CRM Service from context --- OK

EntityName: dw_gpreferenzdaten - Attribute1:dw_firmenname - Attribute2: - FilterAttribute1:dw_name - FilterAttribute2:dw_firmanum - ValueAttribute1:A. Schwarz GmbH ValueAttribute2:300

Error Message:

Unhandled Exception: Microsoft.Crm.CrmException: Unexpected exception from plug-in (Execute): msdyncrmWorkflowTools.QueryValues: System.ArgumentNullException: Der Wert darf nicht NULL sein.

Parametername: key

bei Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)

bei Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)


Dec 6, 2016 at 11:25 AM
Hi Dieter,
thanks for the feedback. I'm moving this issue to the Issues folder, and try to fix it soon.

Dec 24, 2016 at 9:33 AM
Hi Dieter, I fixed this issue since version
In your version your issue is fixed just filling something on Attribute2 parameter (not leave it blank).