The functionality described in this how-to is deprecated. Please use the Persistency Management guide instead.

You want to store your application data ( profile ) so that you can edit this data at a later time. Use the AQ_DossierManager to store, load, update and delete application data as a dossier. Use the AQ_DossierList to display a list of available dossiers.

Step-by-step guide

To store and load application data follow these steps:

Create a dossier

  • Create a service call to create a dossier, select AQ_DossierManager as the service type.

  • Select save as action.
  • Enter the dossierIdAttribute. This entity must be a singleton entity. After creation this attribute will contain the unique dossier id.
  • Optionally you can enter the feature of date parameters, these parameters contain the values that will be displayed in the AQ_DossierList container.
  • Save the service call.

Load a dossier

  • Create a service call to load a dossier, select AQ_DossierManager as the service type.

  • Select load as action.
  • Optionally you can enter a dossierIdAttribute. This is not necessary if you select a dossier via the dossier list container.
  • Save the service call.

Update a dossier

  • Create a service call to update a dossier, select AQ_DossierManager as the service type.

 

  • Optionally you can enter a dossierIdAttribute. This is not necessary if you select a dossier via the dossier list container. 
  • Save the service call.
     

Delete a dossier

  • Create a service call to delete a dossier, select AQ_DossierManager as the service type.

     
     
  • Optionally you can enter a dossierIdAttribute. This is not necessary if you select a dossier via the dossier list container.
  • Save the service call.

Display a list of dossiers

  • Create a new container and select AQ_DossierList as the container type.



  • To add headers for all the features and dates you can enter the following string in the headers parameter±

feature1=<headertext>,feature2=<headertext>,date1=<headertext>

  • To select or open a dossier you can add a button which must have an event connected named load or any other event with parameter load.
  • To delete a dossier you can add a button which must have an event connected named delete or any other event with parameter delete.
  • To filter the results you can add an attribute value to one of the feature or date parameters.
  • Save the container.

Dossier flow

  • Now that you have created all individual components you can create the following flow, to display a list, create, update or delete dossiers


  • Create a list page that contains the dossier list container and a create button
  • Create a page that displays the contents of a dossier
  • Add the load, create, update and delete services at the correct places
  • To complete the flow you might want to add an initialize service call, this will clear the profile before creating a new dossier. Select AQ_DossierManager as service type and init as action.



  • Save the flow.
  • Test your dossier in the runtime. You should have a list of dossiers that looks similar to this picture:

Alternative

You can also use the dossier manager with our process engine. Simply store the dossier id as part of your case data and use this id to load and update dossier data while performing a task.

Download

The Dossier Example project