Articles on: Developers
This article is also available in:

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



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 '@Today' as value.



Output: Select the parameter previously chosen as output parameter and the Date field (e.g. 'Completion Date') as value.



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



The result is: when the process instance passes through the service task, the date will be added to the completion date field you have included in your form.

Updated on: 12/12/2018

Was this article helpful?

Share your feedback

Cancel

Thank you!