-
counter is 1
maxcounter is 4 for four users
-
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. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.<br>
at DocuWare.Workflow.Expressions.VbaExpression`1.Execute(Parameter[] parameters)<br>
at DocuWare.Workflow.CustomEngine.Vba.VbaExpressionCalculator.<CalculateAs>d__6`1.MoveNext()<br>
--- End of stack trace from previous location where exception was thrown ---<br>
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br>
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br>
at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.<ExtractSourceValueAsTextAsync>d__22.MoveNext()<br>
--- End of stack trace from previous location where exception was thrown ---<br>
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br>
at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.<PerformAssignmentsAsync>d__17.MoveNext()<br>
--- End of inner exception stack trace ---<br>
at DocuWare.Workflow.CustomEngine.ThrowHelper.ThrowAssignmentException(String destination, Int32 index, Exception realException)<br>
at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.<PerformAssignmentsAsync>d__17.MoveNext()<br>
--- End of stack trace from previous location where exception was thrown ---<br>
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br>
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br>
at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.<ExecuteAssignmentAsync>d__15.MoveNext()<br>
--- End of stack trace from previous location where exception was thrown ---<br>
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br>
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br>
at DocuWare.Workflow.CustomManagement.Domain.Workflow.WorkflowAggregate.<AssignDataAsync>d__2.MoveNext()Id:55a41bd4-3839-493a-b59e-138b6e3e796bMessage:[1: Tech] Index was outside the bounds of the array.!
-
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. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.<br>
at DocuWare.Workflow.Expressions.VbaExpression`1.Execute(Parameter[] parameters)<br>
at DocuWare.Workflow.CustomEngine.Vba.VbaExpressionCalculator.<CalculateAs>d__6`1.MoveNext()<br>
--- End of stack trace from previous location where exception was thrown ---<br>
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br>
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br>
at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.<ExtractSourceValueAsTextAsync>d__22.MoveNext()<br>
--- End of stack trace from previous location where exception was thrown ---<br>
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br>
at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.<PerformAssignmentsAsync>d__17.MoveNext()<br>
--- End of inner exception stack trace ---<br>
at DocuWare.Workflow.CustomEngine.ThrowHelper.ThrowAssignmentException(String destination, Int32 index, Exception realException)<br>
at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.<PerformAssignmentsAsync>d__17.MoveNext()<br>
--- End of stack trace from previous location where exception was thrown ---<br>
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br>
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br>
at DocuWare.Workflow.CustomEngine.DataAssignment.AssignDataExecutor.<ExecuteAssignmentAsync>d__15.MoveNext()<br>
--- End of stack trace from previous location where exception was thrown ---<br>
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br>
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br>
at DocuWare.Workflow.CustomManagement.Domain.Workflow.WorkflowAggregate.<AssignDataAsync>d__2.MoveNext()Id:352060ca-aed4-45b6-ba18-5fb0377c954dMessage:[1: Tech] Index was outside the bounds of the array.!
-
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.
-
The actual return for counter and max count is 123.45 in both feilds.
-
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.
-
Is there an updated version of this workflow that works?