Create a workflow to gain visibility of the status of BambooHR user accounts.
Before you start
Before you create workflows, you need to have added your BambooHR credentials to Oomnitza.
To save time manually entering your subdomain each time you create a workflow, you can also set the BambooHR subdomain as a global variable.
Creating workflows
Important
The "users" fetched in this workflow are BambooHR users, some of whom may not be linked to an employee record and listed in the Company Directory. The request uses the BambooHR Get Users API.
- Click Configuration > Workflows
- Click Add
.
- Use search to find and select the Users object.
- Edit the Begin Block and add rules to trigger the workflow. For example, if you set the Actions to Schedule and add a rule so that the Email Equals <EmployeeEmail> you can trigger a workflow to fetch a user matching a certain name on a specific date. Refer to Using the Begin block.
- Drag and drop the API block onto the Sandbox.
- Click Edit on the API block and enter Bamboo in the search field.
- Select the BambooHR Get Users Account Status preset.
- Enter the credentials you created in Adding your BambooHR credentials to Oomnitza.
- Your Subdomain is derived from the global variable you created in Adding BambooHR global variables.
- Select Advanced Mode and go to the Response tab. The Response field contains a Jinja2 statement to fetch the users' status. From the Oomnitza field dropdown, select a field you want to map the response to, such as Status or User Status.
- Connect the Blocks.
- Save, validate, and activate your workflow.
Result
The workflow updates the user record defined in the Begin block trigger with the correct status, such as "enabled" or "disabled".
Reference articles for workflows
For further information, refer to the BambooHR API Documentation: Get a List of Users.
Create SaaS user workflows
Important
When you add the BambooHR user integration, user role information is automatically retrieved when Oomnitza syncs with BambooHR. You can also enable the Deactivate feature to deactivate users. When you enable the Deactivate feature, the following actions are completed when the integration runs: If a user record is missing from the data source - the vendor application - or if the record is marked as inactive in the data source, the user record is deactivated in Oomnitza.
If a user record was deactivated and is now available in the data source, for example, the user logs into the SaaS application, the user record becomes active in Oomnitza.
You can create a SaaS User workflow in Oomnitza using the BambooHR User Role preset. This preset assigns the licensed role "Licensed User" to a user if their Status is equal to "Active".
The request uses the BambooHR Get Employee API.
Prerequisites
Before you create a SaaS user workflow, you should have already run your extended user integration and selected User plus SaaS User to populate the software entry in the Software > SaaS menu.
To create a SaaS User workflow using the BambooHR User Role preset, complete the following steps:
- Click Configuration > Workflows > SaaS Users from the menu.
- Click Add (+). The Begin and End blocks are automatically added to the sandbox.
- Enter the name and a description of the workflow.
- Edit the Begin block by adding the rules that will trigger the workflow. For further information see SaaS User Roles.
- Click the Blocks tab, and drag and drop the SaaS User Role retrieval block onto the canvas.
- Click the Edit icon.
- Enter BambooHR in the search field and choose the BambooHR SaaS User Role preset.
- Click the right arrow >.
- Enter your Credentials.
- Your Subdomain is derived from the global variable you created in Adding BambooHR global variables.
- Select the Deactivate User checkbox to deactivate the SaaS user in SaaS > BambooHR > Users if they are flagged as "Inactive" or not found in BambooHR.
- Click SAVE.
- Connect the blocks.
- Save, validate, and activate your workflow.
To view active BambooHR users in the SaaS Users UI:
- Click Software from the menu.
- Select the SaaS tab, and select your software entry for BambooHR.
- Click Users in the side pane.
- The Role column will be populated with the user details to confirm that this user has been found in your BambooHR SaaS.
Comments
0 comments
Please sign in to leave a comment.