-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 63
-
Fix Version/s: 64
-
Component/s: Automation, Validation
-
Tags:
-
Sprint:NOS 9.2.6
On nos-test, I have an automation chain RequestForValidationChain that shows a validation error message: "Validation failed for feature 'RequestForValidationChain'". On connect, the same automation chain doesn't show any error.
My chain is:
- Context.FetchDocument - WebUI.AddInfoMessage: message: The workflow has been started. - Context.GetUsersGroupIdsWithPermissionOnDoc: permission: Workflow_validation variable name: assignees ignore groups: "false" prefix identifiers: "true" resolve groups: "false" - Context.GetEmailsWithPermissionOnDoc: permission: Workflow_validation variable name: groupEmails ignore groups: "false" - Context.SetVar: name: UserLastName value: " @{CurrentUser.LastName}" - Context.SetVar: name: UserFirstName value: "@{CurrentUser.FirstName}" - Auth.LoginAs: name: Administrator - Task.Create: task name: "Validation: @{Document.name}" due date: "@{CurrentDate.days(7).date}" directive: Enter a Directive comment: Enter a comment accept operation chain: validationWorkflow_validate reject operation chain: validationWorkflow_rejected variable name for actors prefixed ids: assignees create one task per actor: "true" - Auth.Logout - Document.Mail: from: "@{CurrentUser.email}" message: "template:validationWorkflow_mail" subject: "Document Validation: @{Document.name}" to: "@{groupEmails}" HTML: "true" Strict User Resolution: "false" rollbackOnError: "true" viewId: view_documents
I do have the chains validationWorkflow_validate, validationWorkflow_rejected, the mail template validationWorkflow_mail and the permission Workflow_validation defined in my project. And when I run the chain in my nuxeo instance, I don't get any error in the logs.