views:

115

answers:

0

Hi there , My problem is We create 3 approval stage workflow with Vs 2008 for sharepoint 20007. This workflow finds managers from the active directory and assing one task for each manager.

Sometimes , after second task creation , we have an error something like "workflow-XXXX cannot be started sharepoint workflow history. If this error occurs one time , than no problem workflow completed successfully , but most of the time ,same error occurs after 10 minutes .. Although second task completed by the user , task status is not become completed ( continuning) and workflow stops working. If we try to modify task , than error this task locked by...... and cannot be modified. In sharepoint logs most common error that considering the times of error , Cannot change the form because it is in Edit mode.

In this case , this error occurs sometimes ( ~ %7) and we have no idea about the time interval. Any suggestion ?

Some information in the invoke code : on workflow activated -> find users. write something to infopath form. ( for hiding the save button )

CreateTask ->assign task id ,due date ,title.... on task created -> empty while | on task change - getting the result waits 30 sec ( sleep ) | complete task -> based on first task answer writing somethind to to list field.

2nd 3rd. . . . .

Thanks.