05-09-2018 07:25 AM
I'm in a unique position where we are using Enhanced AD along with Custom OnBase groups due to the granular overlapping between departments. It's a nightmare to maintain, so I'm looking to see if anyone has utilized the Unity API with a unity form that could possibly query the database and populate drop downs with OnBase security groups/usernames dependent upon the user opening the form?
What I'm wanting to do: I'd like for a manager to open up an OnBase request(unity) form, and upon opening, it lists all groups, workflows, and users within that managers department(queries the database). Once it's loaded, they can select the new user, and select what workflows, and document types they want, OR select another user to mirror. Then upon submitting the form, the API performs the update.
My coworker and I spend about 10 hours a week dealing with this since we have such a high turnover for our call center. We are the only 2 admins for Onbase and we also manage around 6 other applications so 10 hours is a lot to recoup if we could automate this in some for or fashion.
05-09-2018 11:41 AM
05-10-2018 06:10 AM
05-11-2018 10:16 AM
Hi Anthony,
In addition to Alex French's suggestion (and thank you Alex for the detailed suggestion), if you use the External Keyword Dataset Unity script, you can add the Dataset to the Unity Form as a dropdown, and in the Unity script, use Application.CurrentUser.Name to get the name of the current user (which should be the same username in your Active Directory), and take that username and access your external database to get the filtered results based on the current user.
Since the External Keyword Dataset Unity script will be executed on the AppServer, as long as your AppServer have access to this external database, the script should be able to call out to it without giving access to the database to client workstations.
That being said, it sounds like what you are trying to do is to give Workflow and Document Type permission to a new user. If this is correct, the closest thing you can do is to assign the new user to a usergroup that already has permission to these Workflow and Document Types. You cannot modify which usergroup has access to which Workflow or Document Type via the Unity API, but you can add/remove a user to a usergroup.
You also can't see which usergroup has access to which Workflow or Document Type via the Unity API, so this is also something to consider.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.