Categories
Best Practices Bizagi Tips and Tricks

Avoid private processes in Bizagi

Why private processes are not good?

I present two important reasons why you should not use private processes within Bizagi:

  1. Reporting Challenges: One significant problem I have encountered is related to reporting. When cases are marked as private, the information displayed in reports depends on the user running the report. If the user has access to the case, the related information will be included in the report. However, if the user does not have access, the information will be excluded. This can create complications when you have a Manager role specifically designated for reporting purposes only. In such cases, the manager needs to be granted permission to view case details in the reports using commands like “CHelper.GrantCaseAccess(Me.Case.Id, iUserId).” But what happens when a new manager is added to the role? Do you have to run the same command for all the existing cases? While it is technically possible, it would be more convenient if this process was simplified.
  2. Access Management Challenges: The second issue with private processes is related to the constant changes in personnel who require access to the cases. As roles change or new people are assigned to a particular role, the access to cases should be dynamic. However, when using private processes, manually managing these access changes can become cumbersome. It becomes necessary to constantly update permissions and ensure that the right individuals have access to the appropriate cases. This can be time-consuming and prone to errors.

Considering these challenges, I strongly recommend avoiding the use of private processes in Bizagi. Instead, it is advisable to explore the following alternative approach that offers more efficient and dynamic ways of managing reporting and access permissions within the system.

What should I use instead?

I strongly recommend utilizing visibility rules on the summary form instead. By implementing simple expressions that evaluate whether a user’s role matches certain criteria, you can determine whether they should have access to the summary page. For example, if a user has the role of Manager, you can allow access to the summary page. On the other hand, if the user has a different role that shouldn’t have access to the case, you can restrict their access.

Visibility rules based on user roles are straightforward to manage and modify in the future if needed. If there are changes to the roles or access requirements, you can easily update the expressions without extensive manual adjustments. This flexibility ensures that the access permissions remain aligned with the evolving needs of your organization.

By utilizing visibility rules, you can simplify the process of controlling access to the summary page in Bizagi. It provides a more efficient and dynamic approach compared to using private processes.

Categories
Bizagi Tips and Tricks

Collections in Bizagi

Case Scenario: The Peer Review process

The Peer Review process in Bizagi

Process Description: The Peer Review process is a collaborative approach that involves two key participants: the Reviewer and the Developer. In this process, the Developer examines and evaluates the code created by the Reviewer. The purpose of this examination is to ensure the code meets certain standards and to identify any potential issues or areas for improvement.

Working with collections

To illustrate how easy is to work with collections I will describe the technical functionalities using the process called Peer Review.

When you must fill in a form and then save the content into a collection I suggest the following solution:

Data model: You have 2 entities Main Process entity called mPER and an entity mPERFinding. The latter has 2 relations with the former: these two are one-to-one (Finding) and one-to-many(Findings) as seen in the picture below.

Data model

The first relation is used to create the form where the user inputs the data.

The second one is to store the data each time the user completes the form.

<mPER.kmPERFinding.mPER> = <mPER>;
Peer Review workflow
Categories
React

Learning React

Setting up the Dev environment

npm i -g create-react-app@1.5.2

Download and install visual studio code (set the Oceanic Next theme or Ayu Mirage)

Add the extensions:

  • Simple React Snippets (developed by Burke Holland)
  • Prettier – Code formatter (developed by Esben Petersen) – File > Preferences > Settings > set this to format on save
Categories
NodeJS

How to Install Node.js and NPM on Windows

Learn how to install Node.js and npm on Windows with this comprehensive step-by-step guide. Follow these instructions to set up the environment for JavaScript application development effortlessly.

Introduction

JavaScript has emerged as a dominant language in the software development industry, attracting front-end developers who aspire to build feature-rich user interfaces through JavaScript development and interact with back-end web services using AJAX. The non-blocking nature of JavaScript has prompted server-side web developers to adopt JavaScript as their primary choice.

In the present day, numerous front-end frameworks such as VueJS, React, Angular, and more heavily rely on JavaScript as their core language, leveraging its code optimization capabilities. Opting for JavaScript development services not only presents ample opportunities to become proficient in a single language but also facilitates the creation of “full-stack” web applications. At the heart of this revolution in server-side JavaScript lies Node.js, serving as a vital key.

Categories
Bizagi Tips and Tricks

How to send emails from an expression

I had situations in the past where I was required to send a notification directly from an expression. After some trial and error, I managed to find a way. Here is an example of how to send a notification directly from an expression. The first thing I did was to create a library rule. The purpose is to have all the code in one place, in case I need to make any changes down the road. Otherwise, I will have to replicate the change in all the expressions where I’ve used the email method.

Categories
Best Practices Bizagi Tips and Tricks

Working with Tables in Bizagi

Content

  1. Editable table with row validation
  2. Filter dropdown values to exclude already selected ones

Editable table with row validation

Table Functionality

Table functionality in Bizagi
Categories
Bizagi Tips and Tricks

Credential in Bizagi

Credential vs Me.Case.WorkingCredential

The important thing to consider when deciding to choose between these two functions is the CONTEXT: are you using this function in an ongoing case or outside of a case like Queries, Summary forms, Global forms etc?

  • Use Credential, when it is required to use the information of the currently logged-in user in Query, Summary or Global forms etc (i.e., without context).
  • Use Me.WorkingCredential, when it is required to use the information of the current user allocated to the current task in Process forms or expressions (i.e., with context).
Categories
Bizagi Tips and Tricks

Working with XMLs

Content

  1. EntityManagerSOA web methods
  2. Execute Events
  3. Execute Activity
  4. Create a new case

EntityManagerSOA web methods

Bizagi EntityManagerSOA web methods
Categories
Bizagi

Bizagi Support Levels

Bizagi offers 2 support levels: the Basic Support Service (with no SLAs) and the Premium Support Service (with SLAs) which you may purchase separately according to your requirements.

Basic Support Service

To receive basic support, you must have an active maintenance support contract. Maintenance includes product upgrades/updates and basic product support. Basic Support does not offer any Service Level (no SLAs) and allows customers to open support tickets in Bizagi Portal to report bugs, errors, or suggestions for product enhancement. Support Tickets may also be used to make simple consultations regarding product functionality.

Premium Support Service

This service was designed for those companies that require service levels and special attention to their incidents. This is an optional service, aimed to complement the Basic Support included in the maintenance. The Premium Support Service is based on incidents and is offered in three modalities: Bronze, Silver, and Gold, depending on your service level (SLA) requirements and the number of pre-paid support hours. In order to have access to this service you must have a current and valid maintenance contract for your Bizagi licenses.

The Premium Support programs differentiate from the Basic Support scheme in the sense that they include SLAs and specific time dedication from our support team, which depends on the selected option: Bronze and Silver (5×8) and Gold (7×24). To submit an incident, the client should access Bizagi Portal and open a new ticket, which will be attended to according to the conditions of the acquired program.

Categories
Recommended Books

The Great Mental Models: General Thinking Concepts

The Great Mental Models: General Thinking Concepts is a book written by Shane Parrish, the founder of Farnam Street, a website designed to help readers upgrade their decision-making skills. The book delves into various mental models that help readers better understand and analyze the world around them.