Failure has occurred in workflow script

  • Questions
  • Failure has occurred in workflow script
Question ID: 104427
0
0

We recently upgraded from QC 10 to ALM 11 with Patch 6. Since the upgrade, some but not all, of our users are experiencing the error message:
"Failure has occurred in the workflow script (in function )

The ALM server is a Windows 2008 R2 and most clients are running Windows 7 with IE8.

We attempted to remove the "With Bug_Fields(FieldNames) from the workflow script based on an older HP knowledgebase article on this error, but that did not correct the issue.

Any suggestions?

Marked as spam
Posted by (Questions: 4, Answers: 1)
Asked on December 13, 2011 10:59 am
6 views
Answers (1)
0
Private answer

I would suggest that within the SetFieldApp function code, place the following code above the With Bug_Fields(FieldName) code line:

MsgBox((FieldName)

Hit save and try to exit Customization and try to Return to your project,
While returning to the project, this code will allow the field names to be popped onto the screen in a MsgBox and will only continue the workflow execution upon selecting the OK button. You will see the FieldName displayed (take note of this FieldName) and upon selecting the OK button if the field is valid , it will continue to the next field in the SetFieldApp function. If the ''Failure occurred..'' error appears, then this is the FieldName that is causing the error. You can then go into the Defects module script and within the WizardFieldCust_Details and WizardFieldCust_Add (and any custom code you have written to customize field displays for each user/group) and comment out the SetFieldApp string for each group that the deceptive FieldName appears within. You can then save and repeat the procedure until the workflow is correctly functioning again.

I hope this helps.

Marked as spam
Posted by (Questions: 0, Answers: 709)
Answered on March 2, 2012 9:45 am