How to Use Lists & Create Business Processes for Leave Requests Approval in Bitrix24 (Year 2015)
February 6, 2015
Last updated: July 10, 2019
This post is going to break down the business process that is developed in this video:
This post contains all of the pertinent screenshots of the business process template.
First, there are a few notes that should be made:
There is already a Leave Request system in Bitrix24's onsite version. It is located under the Services section of the menu in the "Business Processes" menu item. In fact, the onsite version of Bitrix allows creation of business processes that are not based on lists or documents, but rather “object-less”.
The video emphasizes Lists and BPs, but incorporates several of Bitrix24's tools.
There is a "cleaned-up" version of the business process template that is downloadable from our Bitrix Gold partner. The bp as shown in the video has some rough edges.
Lists are available only in the Pro plan of the Bitrix24 cloud service and in the onsite version (self-hosted). For instructions about creating lists and business process templates, refer to the online training course. Note that there is a good breakdown of the action blocks available as well as some expressions which can be used as values in the settings of these actions.
The fields in the Leave Request list are visible in image below. In the Bitrix24 cloud service, you will have to create a list with these fields, and please note the field types of each field:
As mentioned in the video, it’s a good idea to create the standard business process templates that Bitrix24 offers, as some of them are useful or can be modified slightly to suit basic functions, even though they were made for the document libraries
Here is the wide-angle view of the flow chart that represents the business process:
The first block in the template is simply a “Select User” block, which identifies the supervisor of the user (called Created By in the Document Fields in the builder) who entered the leave request in the list.
Throughout the bp template, any user who performs an action (such as giving an approval) can later be identified using the “Additional Results” section in the builder. It is not always possible to get the User’s name shown in the Image 3. Locate Supervisor:
The notification to the supervisor and the HR department are shown in the next picture. Note that I have simply added the HR person(s) by name.
The settings for the supervisor’s approval looks like this:
The HR Approval has the “any” person approval option. If there were multiple people in the HR department listed among the approvers, any one of them could complete the approval.
The last block of note is the Absence Chart. But there was a slight problem with the assignment of the Absence Type, since that field in the settings does not support the builder, so a rather wide condition branch that works off the list’s “Leave Type” (which corresponds to the Absence Chart’s type) was inserted. The darkened part of the Image below shows that I have created a branch for each absence type.
The settings in the condition branch cause it to look at the value in the “Leave Type” entered by the requestor, if it matches up with the Value (Annual Leave in this branch), it follows this branch.
The subsequent Absence Chart Box is then set for the corresponding Absence type.
So by creating lists and business process templates to apply to them, you can add significant functionality to your Bitrix24 intranet.
Free. Unlimited. Online.
Bitrix24 is a place where everyone can communicate, collaborate on tasks and projects, manage clients and do much more.