Accessing the audit trail
We have an HR form&flow setup that goes back and forth between an employee to their immediate manger. Directors are now requesting to see the ones in progress for their entire team, but can only view the audit trail for mangers that report to directly to them. it's tricky as there can be upto 4 levels of hierachy. Would there be some kind of workaround? Obvisouly, directors should not be able to access anything outside of their team.
-
Official comment
Hi Anne-Marie,
One option is to somehow include in the form data which directors are relevant to each workflow, and then use templatized strings to give those directors Who Can Administer the Workflow access control. This will allow them to search for tasks and view the audit trail even if they are not a participant in the workflow. (Keep in mind it also allows actions like modify or abort a task.)
For example, you might have four hidden fields in your workflow e.g. Director1, Director2, Director3, Director4. You can fill these with a userid or a role at run time based on other data in the flow, such as the employee's department. Then, in the Access Control settings, list these fields in curly braces e.g. {Director1} {Director2}, etc. in either the user or role field (depending on how you are setting them.)
To fill the hidden controls, you can use a business rule or, what we have seen in many cases is the approval structure set up in a Google Sheet or database, and then integrate with the frevvo Google Connector or frevvo Database Connector to pull those users/roles into the form dynamically.
I hope that helps!
Please sign in to leave a comment.
Comments
1 comment