Form

External data types

This table lists which types of data can be referred to from a form field, and which prefix to use.

Case data

Prefix: No prefix

Uses a reference to data from the json document that stores case data in Valtimo. The dot (.) can be used to access data in nested objects.

Example: person.firstName

Zaakeigenschappen

Prefix: openzaak

Gets the zaakeigenschap that is indicated in the field expression. The available items are defined for a 'zaaktype' in de Catalogi API.

Example: openzaak:firstName

Process variables

Prefix: pv

Accesses process variables for the case for which the form is loaded. It can access all variables of all process instances for the case.

Example: pv:firstName

Zaak

Available since 11.2.0

Prefix: zaak

With the zaak prefix, all data inside a zaak response can be used to prefill the form. Some examples:

Zaakstatus

Available since 11.2.0

Prefix: zaakstatus

With the zaakstatus prefix, all data inside a zaak statustypen response can be used to prefill the form. Some examples:

Zaakobjecten

Prefix: zaakobject

In order to use this type the following plugins have to be configured:

  • Zaken API

  • Objecten API

  • Objecttypen API

References a property in a Objecten API object referenced as 'zaakobject'. The field expression contains both the name of the 'objecttype' and a JSON Pointer to the property within the JSON store in the zaakobject. There can only be one object of the requested type linked to the zaak as zaakobject. If no or multiple objects are found, an exception will be thrown when loading the form. When the object is found, the JSON Pointer is used to find the property in the JSON stored in the data field of the object.

In order for Valtimo to find the correct object, the following needs to be configured correctly:

  • A zaak is linked to the current case by using a zaak instance link

  • A Zaken API configuration exists that has a base URL matching the zaak instance link URL

  • A zaakobject exists in the Zaken API that links the zaak to an object in the Objects API

  • An Objecten API configuration exists that has a base URL matching the object URL in the zaakobject

  • An Objecttypen API configuration exists that has a base URL matching the type from the object found

Example: zaakobject:profile:/person/firstName

Last updated