• RE: Setting up a Round Robin System in a Workflow - KBA-36810

    counter is 1

    maxcounter is 4 for four users
  • RE: Setting up a Round Robin System in a Workflow - KBA-36810

    I change it to int and keep getting this error..............................................................................<br> <br> Workflow faulted: ExceptionType:System.Exception, mscorlibFullMessage:System.Exception: [1: Tech] Index was outside the bounds of the array. ---&gt; System.IndexOutOfRangeException: Index was outside the bounds of the array.<br> &nbsp; &nbsp;at DocuWare.Workflow.Expressions.VbaExpression`1.Execute(Parameter[] parameters)<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.Vba.VbaExpressionCalculator.&lt;CalculateAs&gt;d__6`1.MoveNext()<br> --- End of stack trace from previous location where exception was thrown ---<br> &nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br> &nbsp; &nbsp;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.&lt;ExtractSourceValueAsTextAsync&gt;d__22.MoveNext()<br> --- End of stack trace from previous location where exception was thrown ---<br> &nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.&lt;PerformAssignmentsAsync&gt;d__17.MoveNext()<br> &nbsp; &nbsp;--- End of inner exception stack trace ---<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.ThrowHelper.ThrowAssignmentException(String destination, Int32 index, Exception realException)<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.&lt;PerformAssignmentsAsync&gt;d__17.MoveNext()<br> --- End of stack trace from previous location where exception was thrown ---<br> &nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br> &nbsp; &nbsp;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.&lt;ExecuteAssignmentAsync&gt;d__15.MoveNext()<br> --- End of stack trace from previous location where exception was thrown ---<br> &nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br> &nbsp; &nbsp;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomManagement.Domain.Workflow.WorkflowAggregate.&lt;AssignDataAsync&gt;d__2.MoveNext()Id:55a41bd4-3839-493a-b59e-138b6e3e796bMessage:[1: Tech] Index was outside the bounds of the array.!
  • RE: Setting up a Round Robin System in a Workflow - KBA-36810

    I always get this below....<br> <br> Workflow faulted: ExceptionType:System.Exception, mscorlibFullMessage:System.Exception: [1: Tech] Index was outside the bounds of the array. ---&gt; System.IndexOutOfRangeException: Index was outside the bounds of the array.<br> &nbsp; &nbsp;at DocuWare.Workflow.Expressions.VbaExpression`1.Execute(Parameter[] parameters)<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.Vba.VbaExpressionCalculator.&lt;CalculateAs&gt;d__6`1.MoveNext()<br> --- End of stack trace from previous location where exception was thrown ---<br> &nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br> &nbsp; &nbsp;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.&lt;ExtractSourceValueAsTextAsync&gt;d__22.MoveNext()<br> --- End of stack trace from previous location where exception was thrown ---<br> &nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.&lt;PerformAssignmentsAsync&gt;d__17.MoveNext()<br> &nbsp; &nbsp;--- End of inner exception stack trace ---<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.ThrowHelper.ThrowAssignmentException(String destination, Int32 index, Exception realException)<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.&lt;PerformAssignmentsAsync&gt;d__17.MoveNext()<br> --- End of stack trace from previous location where exception was thrown ---<br> &nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br> &nbsp; &nbsp;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.&lt;ExecuteAssignmentAsync&gt;d__15.MoveNext()<br> --- End of stack trace from previous location where exception was thrown ---<br> &nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br> &nbsp; &nbsp;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br> &nbsp; &nbsp;at DocuWare.Workflow.CustomManagement.Domain.Workflow.WorkflowAggregate.&lt;AssignDataAsync&gt;d__2.MoveNext()Id:352060ca-aed4-45b6-ba18-5fb0377c954dMessage:[1: Tech] Index was outside the bounds of the array.!
  • RE: Setting up a Round Robin System in a Workflow - KBA-36810

    yes,I have tried text, dec, and numeric variables and I keep getting the return of 123.45. I dont know how its getting that numeric value when its just being used as a counter.
  • RE: Setting up a Round Robin System in a Workflow - KBA-36810

    The actual return for counter and max count is 123.45 in both feilds.
  • RE: Setting up a Round Robin System in a Workflow - KBA-36810

    Thank you.
    I have edited it and tried several times, and it keeps erroring out. When I run my test 1.23 returns for my maxcount and counter for some reason.
  • Setting up a Round Robin System in a Workflow - KBA-36810

    Is there an updated version of this workflow that works?