WorkQueueService.Get() method ends with an error

I was trying to use WorkQueueService Get method from a sequential workflow

I was expecting it worked as usual after an upgrade from 2022.4 → 2024.6

Instead I’ve got:

> Origam.OrigamException: Work Queue Class not defined. Check Work Queue setup. (Parameter 'name')
>  ---> System.ArgumentOutOfRangeException: Work Queue Class not defined. Check Work Queue setup. (Parameter 'name')
>    at Origam.Workflow.WorkQueue.WorkQueueUtils.WorkQueueClass(String name) in D:\a\1\s\backend\Origam.Workflow\WorkQueue\WorkQueueUtils.c	
>    at Origam.Workflow.WorkQueue.WorkQueueService.WorkQueueGetMessage(Guid workQueueMessageId, String transactionId) in D:\a\1\s\backend\Origam.Workflow\WorkQueue\WorkQueueService.cs:line 280
>    at Origam.Workflow.WorkQueueServiceAgent.Get(IWorkQueueService wqs) in D:\a\1\s\backend\Origam.Workflow\Service Agents\WorkQueueServiceAgent.cs:line 121
>    at Origam.Workflow.Tasks.ServiceMethodCallEngineTask.OnExecute() in D:\a\1\s\backend\Origam.Workflow\Tasks\ServiceMethodCallEngineTask.cs:line 221
>    at Origam.Workflow.ProfilingTools.<>c__DisplayClass4_0.<ExecuteAndLogDuration>g__FuncToExecute|0() in D:\a\1\s\backend\Origam.Workflow\ProfilingTools.cs:line 69
>    at Origam.Workflow.Tasks.AbstractWorkflowEngineTask.MeasuredExecution() in D:\a\1\s\backend\Origam.Workflow\Tasks\AbstractWorkflowEngineTask.cs:line 107
>    at Origam.Workflow.Tasks.ServiceMethodCallEngineTask.Execute() in D:\a\1\s\backend\Origam.Workflow\Tasks\ServiceMethodCallEngineTask.cs:line 95
>    --- End of inner exception stack trace ---

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