I have copied and modify Publishing Approval Workflow. I have globally published my workflow and use powershell script to associate with all sites in site collection. When User create page and task assigned to approver to approve page, when approver view his task and clickj approve button on task form then error comes "
Unknown SQL Exception 8145 occurred. Additional error information from SQL Server is included below.
@tp_WorkflowInstanceID is not a parameter for procedure proc_UpdateListItem. Event ID 5586. But this error comes in some sites not all of them.
What is solution. ??