Validation rule isn't propagated to UI

Step Check Rule fails in the workflow that creates a new user for an existing business partner. When using a validation rule in other contexts (load task, transform task, check rule task in another workflow), it works as expected.

image

2024-09-18 13:22:13,528 [57] ERROR Origam.Workflow.WorkflowEngine - CheckRuleStep Identity_CreateUserFromExistingBusinessPartner_Save/01_CheckForm failed.
2024-09-18 13:22:13,528 [57] ERROR Origam.Workflow.WorkflowEngine - Uživatelské jméno již v systému existuje, zvolte jiné.
Workflow stack trace
	Step: 'Identity_CreateUserFromExistingBusinessPartner_Save/01_CheckForm'

Origam.Service.Core.RuleException: Uživatelské jméno již v systému existuje, zvolte jiné.
   at Origam.Workflow.Tasks.CheckRuleEngineTask.OnExecute() in D:\a\1\s\backend\Origam.Workflow\Tasks\CheckRuleEngineTask.cs:line 48
   at Origam.Workflow.ProfilingTools.<>c__DisplayClass4_0.<ExecuteAndLogDuration>g__FuncToExecute|0() in D:\a\1\s\backend\Origam.Workflow\ProfilingTools.cs:line 63
   at Origam.Workflow.ProfilingTools.ExecuteAndLogDuration(Func`1 funcToExecute, String logEntryType, String path, String id, Func`1 logOnlyIf) in D:\a\1\s\backend\Origam.Workflow\ProfilingTools.cs:line 97
   at Origam.Workflow.ProfilingTools.ExecuteAndLogDuration(Action action, String logEntryType, String path, String id, Func`1 logOnlyIf) in D:\a\1\s\backend\Origam.Workflow\ProfilingTools.cs:line 66
   at Origam.Workflow.Tasks.AbstractWorkflowEngineTask.MeasuredExecution() in D:\a\1\s\backend\Origam.Workflow\Tasks\AbstractWorkflowEngineTask.cs:line 99
   at Origam.Workflow.Tasks.AbstractWorkflowEngineTask.Execute() in D:\a\1\s\backend\Origam.Workflow\Tasks\AbstractWorkflowEngineTask.cs:line 110

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.