[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1189
  • Last Modified:

Approval Workflows and Workflow autostart not working prorperly

Auto start and tasks are not working properly within sites with migrated workflows.  We migrated from 2007 to 2010 SharePoint Enterprise with a single farm database attach.  Workflows can be manually started and work properly, unless it's a task.  Tasks can be started, but the status does not populate so it cannot be updated.  Once you try and update them you receive validation errors.  If you create a workflow and there hasn't been one migrated it works.
  • 2
1 Solution
I guess this is some upgrade bug. If ou get validation errors when editing these workflows then it's clear that something got messed up. Can you post those validation errors? Are you able to fix them or do you need to create workflow from scratch? Did you try saving the workflow to a file and importing it from the file?
DCTITAuthor Commented:
The validation errors only occur when a task workflow approval status needs to be changed.  It doesn't matter if you recreate the workflow or not it will still leave the status blank which creates the validation error.  If I create the same workflow on a list without a workflow that was already attached then it works fine.  

When the task is assigned and I go into it to approve/decline I receive this message:

The form cannot be submitted because it contains validation errors. Errors are marked with either a red asterisk (required fields) or a red, dashed border (invalid values). Field or group: d:PercentComplete Error: Only numbers allowed  
Click OK to resume filling out the form. You may want to check your form data for errors.
error details
An error occurred while using the form. For more information, contact the site administrator.
An entry has been added to the Windows event log of the server.
Log ID:5567

The event viewer actually doesn't log this error and there actually isn't any fields marked with red.  The only thing that is missing is the status of the task.
It looks like something got messed up deeper and without access to the environment it will be hard to debug it, sorry!

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now