문제

I've created a button, around which I've wrapped a form action that calls a custom form action. Problem is, it keeps erroring off with:

User ID         Date Occurred     Event Type         Duration   Description  

System Account  1/20/2011 1:54 PM Error                         Custom Form Action 1 failed to start. 
System Account  1/20/2011 1:54 PM Workflow Canceled     435,612 Workflow Custom Form Action 1 was canceled by System Account. 
System Account  1/20/2011 1:47 PM Error                         Custom Form Action 1 failed to start. 
System Account  1/20/2011 1:47 PM Workflow Canceled  -3,396,280 Workflow Custom Form Action 1 was canceled by System Account. 
System Account  1/20/2011 1:46 PM Error                         Custom Form Action 1 failed to start. 
System Account  1/20/2011 1:46 PM Workflow Canceled  -1,970,134 Workflow Custom Form Action 1 was canceled by System Account. 
System Account  1/20/2011 1:29 PM Error                         Custom Form Action 1 failed to start. 
System Account  1/20/2011 1:29 PM Workflow Canceled   3,714,748 Workflow Custom Form Action 1 was canceled by System Account. 

I've included several records to show that the duration is different every time. Why is that? Why is it negative sometimes?

I've even deleted it and created a new one that only writes to the history, and I get the same error.

The page was created from a site template that included the Custom Form Actions. Could that have anything to do with it?

I have other lists in this site collection that use Form Action Workflows without this error.

Thoughts? Links? Suggestions?

도움이 되었습니까?

해결책 2

Ultimately, I had to re-build the site in production and build the form action workflows there.

As Alex suggested above, I suspect that issue has to do with CUs or disparate Service Packs.

But to rebuild, I had to:

  1. Remove the form actions from the test version
  2. Change all of the SelectParameters to reference ListName instead of ListID, then replace the GUID with the Display Name of the list
  3. Export all the webparts
  4. Export all the lists
  5. Create a blank site in production
  6. Import the lists into the blank site
  7. Copy the webpart pages from test to production
  8. Add the webparts back to the zones in production
  9. Copy the webpart connections section from SPD into Dreamweaver and swap out all of the "g_" IDs, the paste it into the webpart page in production
  10. Find/replace all of "g_" IDs in the connection links
  11. Rebuild the form action workflows

All is working well now.

다른 팁

Under the list settings within the GUI, do you still show multiple versions of this workflow within the Workflow settings? I'm not sure if having a lot of variations of the same workflow is the ticket, but I like to delete all of the versions that aren't currently being used.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top