Form Action Workflow “canceled by System Account”
-
16-10-2019 - |
문제
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:
- Remove the form actions from the test version
- Change all of the SelectParameters to reference ListName instead of ListID, then replace the GUID with the Display Name of the list
- Export all the webparts
- Export all the lists
- Create a blank site in production
- Import the lists into the blank site
- Copy the webpart pages from test to production
- Add the webparts back to the zones in production
- 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
- Find/replace all of "g_" IDs in the connection links
- 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.