Dear all,
I'm trying to implement the scenario, where before submitting the record to a workflow; I specify the user, whom to assign the WI for approval. (I'm working with invoice approval journal in this case and using approvedBy field on the journal header as a starting point)
Then, on the WF configuration approval step, in the assignment I use hierarchy based assignment. (Hierarchy based: starting from ApprovedBy) In the stop condition I put 'Where Employee.Line Manager Level = 1'Everything works, but the WI goes to the manager (next level, according to the hierarchy).
But I need it to be assigned to the employee specified in the field aprovedBy.I'm trying the stop condition 'Where Employee.Line Manager Level = 0', and assume that in this case WI will be assigned to himself. But I get an error message 'Stopped (error): The WorkflowHierarchyProvider implementation has a circular dependency'.Maybe I'm doing this in a wrong way?
Maybe there is another way of implementing this kind of requirement?
Any suggestions and ideas are much appreciated.
BR,Sasha.