Human resources

How to Use Lists & Create Business Processes for Leave Requests Approval in Bitrix24 (Year 2015)

How to Use Lists & Create Business Processes for Leave Requests Approval in Bitrix24 (Year 2015)
Yana Prokopets
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:

  1. 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”.

  2. The video emphasizes Lists and BPs, but incorporates several of Bitrix24's tools.

  3. 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.

  4. 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.

  5. 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:

c612fc861a21bdd5cb4e5b2274a44a5a.png

  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:

cd535b98d279142b3b8880ba0c55539f.png

  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:

5a7ba3f6f460107008b52587e3bacbd3.png

  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.

2f2c578579c44c1c43555a1809dc40a5.png
 
 The settings for the supervisor’s approval looks like this:

e979531790a6a6d7c945f262df3c13e5.png

  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.

bc8c150afde34fb29fd4b996017511a7.png

  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.

f2c6b68f8dcf1d07beaa6c4c0f81f91d.png

  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.

096ad7cf1cae7a17082629ecb6b0002b.png

 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.