All of our users in M-Files are represented by Employee class objects. Each Employee object has a Supervisor of type Employee. Each Employee object also has an "M-Files User" field which is chosen from the list of users (for routing/assignment/permission purposes).
I am doing an approval workflow that may need multiple levels of approval from supervisors/managers, depending on how far "down" the hierarchy it starts (for example a shift supervisor needs approval from the shift manager, the department head, the VP and the COO, but the VP would only need approval from the COO)
When doing a workflow, and trying to assign a task using Metadata, I can assign a task to
Employee.M-Files User
Employee.Supervisor.M-Files User
but I cannot seem to go any further in the "hierarchy" (e.g. Employee.Supervisor.Supervisor.M-Files User).
Has anyone been able to build workflows that go up through a hierarchy such as this so that the workflow initiator doesn't have to manually add all of the people involved?
Thanks!