Articles on: Developers
This article is also available in:

Add Process Identifier automatically to your form

In Flokzu you can add the Process Instance Identifier automatically using our Web Service Echo.

In order to do this you must follow the following steps:

Place a Text 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 'Process ID'.



Enter the ECHO URL under URL field: https://app.flokzu.com/flokzuopenapi/api/commons/JSON/echo

Select POST method.



Input: Select an input parameter (e.g. 'paramB') and 'Identifier' as value.



Output: Select the parameter previously chosen as output parameter and the Text field (e.g. 'Process ID') as Field.



Headers: Select 'Content-Type' as parameter and 'application/json' as value.



The result is that after you submit the initial form, the process identifier will be added to the text type field you have included in your form.

Updated on: 18/03/2020

Was this article helpful?

Share your feedback

Cancel

Thank you!