SPDActivities - DP.SharePoint.Workflow - Workflow failed to run

One of my SP 2016 application is using SPDActivities of Email extended feature of DP.SharePoint.Workflow to provide custom "From" address. But customers started to complain that they are not getting reminder emails anymore. Find below my STAR analysis,

Situation:
Recently I was facing an issue - Approval workflow failed to run. Customers not getting reminder emails anymore.

Task:
- Planned to look into SharePoint services, IIS site, web.config files (WFE and App Server), Latest patch/MS update/CU, Users permission.

Analysis:
Started looking into each below items, 
- SharePoint Timer Service and Administration services were running and good
- Account which is running the workflow got required permission
- DP.SharePoint.Workflow got activated for the web application
- Checked into web.config file in WFE server and App Server for below sections

Under <SafeControls> below 3 lines need to added both in WFE and App server web.config files,
<SafeControl Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow.InfoPath" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow.Install" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow" TypeName="*" Safe="True" SafeAgainstScript="False" />

Screenshot for reference:



Under <authorizedTypes> below line need to be added just before and after </targetfx>
<authorizedType Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow" TypeName="*" Authorized="True" />

Screenshot for reference:

Resolution:
Actually both the above 2 changes were already made in web.config files of WFE and App server, but recent MS update has removed it seems in App server. So, after adding the lines back int web.config file of App server and IIS reset, Approval workflow started to run again.

Comments

Popular posts from this blog

Power BI Refresh Issue: unable to convert the value '' from the source data type 'VT_BSTR' to the expected data type 'VT_I8.

Run Powershell script on Remote Computer/Server

wsp not getting deployed in all servers