Business Rule Sets Results
If the validation results are not successful, a View Conflicts link appears on the Audit Change Notice or Resolve Release Conflicts task pages. To show the results of the business rule sets on a change notice, open the task. Click the View Conflicts link to determine the rules that failed and why.
If there is no View Conflicts link, all business rules were validated.
* 
If you have customized workflows or have updated your system from a previous version of Windchill, you must manually configure the workflows to include the business rule set.
To show the results of the business rule sets on a workflow task, you need to create a workflow variable named businessRulesResultSetGlobal and set the type to serialized string of the validation result set. Then, for any task that you want to show the results in, create a new workflow variable on that task named businessRulesResultSet. On the Initialize From field, set the value to be businessRulesResultSetGlobal, and the Copy Into field should be businessRulesResultSet. This copies the global value into the current task value so that history can be maintained on the workflow task results. Use BusinessRulesHelper.serialize to create a serialized string of the validation result set. When the businessRulesResultSetGlobal is set, a View Conflicts link displays as part of the subject in the workflow task. To see the report of evaluated business rule sets, click the link.
For more information, see Viewing Rule Conflicts
The Audit Change Notice task presents the errors, but allows you to continue.
Isto foi útil?