Script development using AI assistant
Creating Scripts with the AI Assistant A quick and easy way to create scripts is by using Flokzu's AI assistant. Simply type the purpose of your script in the chat window and let the artificial intelligence create it for you. Go to the Visibility settings and Scripts section. Then go to the Scripts tab. Select the User Task where you want to place the script and click the *AssFeaturedFlokzu public API (Open API)
You can find the API documentation at https://flokzu.stoplight.io/ What can be done with the Flokzu public API? The Open API allows you to interact with Flokzu from external systems, enabling integration with your own technology stack. Available operations Instances and processes Get process instance: Allows you to retrieve data from an existing instance. It receives the instance identifier as a parameter and returns a JSON with its data,Some readersProcess versions management
How does version management work? You can now manage multiple versions of the same process. You can create these multiple versions to: Test some changes to your process without modifying the active process (the one that is running) To have snapshots that work as a milestone in the making of your process Track the changes your process has been through. Among many other uses. We call ‘Active version’ (or Active process) to the **version of the process that is actually running in yoSome readersPDF generation in Flokzu
Flokzu allows you to generate professional-looking PDF documents from your process data. This functionality combines two pieces: Print Templates: the design (format, branding, fields to display) your final document will have. PDF Generation: the different ways to produce that document — manually from the instance, automatically from the workflow, or by sending it via email. 1 - Print Templates Print Templates are used to generate PDF documents with a custom format, using an HFew readersAdd 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'. { var ID = Flokzu.getFieldValue( [[Id Number]] ); var patron = /[\.\-]/ig; ID = ID.replace(patron, ""); var Coefs = [2,9,8,7,6,3,4,1]; var arrayID = ID.split( "" ); var Sum = 0; var length = ID.length; for (i=0;i<length-1;i++){ Sum = Sum + Coefs[i]*arrayID[i]; } Sum =Few readersREST Service Authentication
REST Service Authentication When it comes to connecting your process flows with web applications or REST services, security is a key issue. One of the ways to protect services and ensure that only authorized users can access them is through authentication. Flokzu offers support for several authentication methods, including basic authentication, Bearer authentication and API Key authentication. 1. API Key API Key authenFew readersSend and receive attachments via Web Service
During the modeling of your processes, you may find it necessary to exchange attached files with an external system, either to store them, share them, or process them in other applications. The use cases are varied and highly useful in the context of process automation; therefore, Flokzu offers three ways to move attachments using Service Tasks in the workflow. Sending attachments to other Flokzu instances using Flokzu ServiceFew readersScript development in Flokzu
Introduction It is often necessary to add a certain level of intelligence to forms, whether to perform complex calculations, validations, error detection, define conditional logic to hide/show fields, among many other possibilities. To achieve this, Flokzu includes a Script Engine that provides several predefined functions at the form level to perform all kinds of validations, error detection, and algorithms. Scripts must be defined using JavaScript as the programming language, and mPopularRequirement 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 offers the following functions to use in scripts: *Hide a field: Flokzu.setHidden([[field]]) *Set a field as required: Flokzu.setRequired([[field]]) *Set a field as editable: Flokzu.setEditable([[field]]) ***Set a field asPopularImporting, 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) and enable the advanced options by clicking the three dots on the right side of your screen. !Some readersSandbox- Test your processes
Sandbox The sandbox feature will allow you to test any process (the active version as well as different versions of a process) in a simple way and without worrying about who is assigned to the tasks. In addition, this feature was designed not to generate data in the trays or reports that may affect your real data. The idea is that once a process has been successfully tested using sandbox feature, all that remains is to publish it. Once this is done, the process has correctly entered into tSome readersWebhooks
In Flokzu, you can share the information contained in your forms with external systems through webhooks. Webhooks provide a mechanism to notify your application when a specific event occurs, allowing you to take actions and maintain a complete trace of what happens in the instance. There are four types of events: 1 - Save Webhook A webhook configured for the save event will be triggered when any of the following actions occur: Creating a new instance (whether executed by a logged-in uSome readersWhat 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. Flokzu distinguishes between the API Key that allows access to instance data, and the API Key that allows User Management. 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:  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 sFew readers