Symptoms
When deploying a workflow to out SP online site, we are seeing the following error...
Value cannot be null. Parameter name: field at SourceCode.Workflow.Design.ArtifactLibraryFieldPart..ctor(EnvironmentField field) at SourceCode.Workflow.Design.Mail.MailEventItem.PrepareConfigurationForBuild() at SourceCode.Workflow.Authoring.Design.Serialization.ExecutableItemCodeGenerator.ExtenderCodeGenerator.Generate(CodeTypeDeclarationCollection types, GenerationOptions options) at SourceCode.Workflow.Authoring.Design.Serialization.ProcessCodeGenerator.Generate(GenerationOptions options) at SourceCode.Workflow.Authoring.Process.Compile() at SourceCode.DeploymentTasks.Compiler.WorkflowCompiler.Execute()
Diagnoses
This is a know bug in the 4.6.9 codebase.
Resolution
We sent the client an existing code fix and applied it to their environment. After we applied the fix, we were able to deploy the process without any issues.
If you run into this issue on the 4.6.9 codebase (With the PandampD Roll-up 3), please log a bug and request the fix for the following TFS item.
546431: 1COLDFIX ITEM 4.6.9]K24SP2013 - Value cannot be null error when deploying a email event