Go to website
Advanced configurations, our public API, scripts and more.
Does Flokzu have a Public API?
Yes, Flokzu does count with a Public API that you can use either to call it from your systems or within Flokzu itself (from Service Tasks, for example). What can you do with Flokzu's Public API? Our API allows you to do many things, from linking two processes together to entering records into a Flokzu database, getting records from a Flokzu database, copying a field value, etc. The URL to see the API documentation is: https://flokzu.docs.apiary.io
How it works If you don't have a template linked to your process, when you click the printer icon on a process instance, the browser's default print dialog will be shown. To customize it, you can attach an HTML file to a process set up under Process Settings. Once you have uploaded a template, if you click the printer icon, a PDF will automatically be downloaded with the structure defined in the file. !(https://storage.crisp.chat/users/helpdesk/website/5a899047-9b38-48ab-9475-31c8c63a3
Add initiator email automatically
The following script will help you obtain the email of the logged user and store it into a ‘Logged user’ field. This is particularly useful when you want to use this email for other purposes. How to do it Create an email type field in your form. We will call it ‘Logged user’. Click to the ‘Visibility settings and Scripts’ button. !(https://stor
Add Creation Date automatically to your form
In Flokzu you can add the creation/start date of a form automatically using our Web Service Echo. In order to do this you must follow the following steps: Place a Date type field in your form. Add a Service call task in the workflow of your process and select Web Service REST. In this example we will call the task 'Add Date to form'. !(https://stora
Add Completion Date automatically to your form
In Flokzu you can add the completion date of a form automatically using our Web Service Echo. In order to do this you must follow the following steps: Place a Date type field in your form. Add a Service call task before the end event in your process and select Web Service REST. In this example we will call the task 'Add Completion Date to form'. !(h
Setting up required and visibility of fields by script?
Visibility by script allows you to set dynamic visibilities for form fields. You can define if certain fields should be required, editable, read-only or hidden, based on the value of another field or on a decision made. Available functions Flokzu’s API offers the following functions to use in scripts: Flokzu.setHidden( [field] ); //Hides a field Flokzu.setRequired( [field] ); //Sets a cer
Importing, exporting & cloning processes
Often different processes have similar structures and it is useful to reuse the configuration. In these cases you can clone the original process and edit the copy. It can also be useful when you want to make modifications to a process, but you don’t want to mess up the original one. Cloning a process To clone a process, go to My Processes (only visible to Administrators and Business Analysts). There, add the following parameter to the end of the URL: ?export=true and press Enter. ![
Script development in Flokzu
Introduction In Flokzu we know that sometimes it is necessary to provide the forms with intelligence, not only to make complex calculations, but also to validate things, detect errors, and define conditional logic to hide/show fields, among many other possibilities. Bearing this in mind, we have developed a Script Engine that provides predefined functions at the form level to be able to make all kinds of validations, error detections and algorithms using a widely known language like JavaSc
What is an 'API key'? How to generate it?
API stands for Application Programming Interface. Once you create an API key in Flokzu, you can then link your account to other apps without the need to share your password or any confidential data. Generating an API key in Flokzu Administrators can create an API Key going to ‘Configuration’ > ‘Advanced’. Once there, they must click on the following button:
Can I assign tags / labels automatically?
Yes, you can assign a tag ( label ) automatically. In order to do this, you must use the 'Echo' Web Service, which allows you to copy and paste any sort of information from a process form. Example: Imagine that, once that a Purchase Order is submitted by a client, you want that the client's full name be automatically assigned to the process instance. By doing so, you'll be able to filter instances per client's name. Steps to assign tags automatically: Place a Service Task at the s