Workflow initiation form postback error

Problem

I am creating a customized version of the OOTB ‘Approval – SharePoint 2010’ workflow. What I did was basically select the Global Reusable workflow and made a copy of it. The workflow publishes without any problems. However, when I try to add the workflow to a SharePoint list and nominate an approver, I get the following error:

The following error gets logged in the event log:

There was a form postback error. (User: domain\andrew.toh, Form Name: Template, IP: , Request: http://sharepoint/_layouts/CstWrkflIP.aspx?List={7E380371-9012-4582-934E-79A47AE75A5E}, Form ID: urn:schemas-microsoft-com:office:infopath:workflowInitAssoc:-AutoGen-2012-07-20T00:41:31:452Z, Type: SchemaValidationException, Exception Message: Schema validation found non-datatype errors.)

ULS Logs

SharePoint Foundation Web Controls Medium Failed to get SPGroupName from GroupID. Error Message: Group cannot be found.  Callstack:    at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id)     at Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value).

Solution

To work-around this problem, I had to install SharePoint Designer 64 bit, re-copy the OOTB workflows, modify them, and re-publish.

Tags: ,

No comments yet.

Leave a Reply

%d bloggers like this: