Running an application

If you don't want to start the application by launching a form, the first step to take will be to set the starting point of the application (form or process).

Setting the application's starting point

You can set the starting point directly in the Applications module – in the Forms or Processes.

To correctly launch the application it is necessary to first create the data model described in Data model.

As the start we can set one of the forms added to a given application. After entering the Forms tab we click the context menu of the appropriate form and select the option Set as starting point:

Illustration 1. Context menu with the option to set the form as the starting point.

Invalidate cache
curl -u USER:PASSWORD -X POST "http://webforms-dev.consdata.local/cache/invalidate?cacheType=PUBLISHED_TEMPLATE"

To launch an application e.g. named wiki_przyklad_app, use the following link:

https://example.link.demo/stkn=#/wiki_przyklad_app

When the application is launched the requestthat has been set as the starting point will be opened.

Setting a process as the starting point and launching the application

The availability of features depends on the license and may not be available in all deployments.

In some cases the application should start with a process that controls the business logic.

To set a process as the starting point, after entering the Processes tab click the so-called "kebab" and in the context menu of the appropriate process choose the option Set as starting point:

Illustration 2. Context menu with the option to set the process as the starting point.

If a process is set as the application's starting point instead of a form, additionally in the Properties form tab you should go to the Flows and in the Actions section define the following event:

  • Component handling the action: e.g. Trigger or Page

  • Type of event : dependent on the selected triggering component

  • Form action: START_APPLICATION

  • Application name: the name of the application to be launched (the application will start the process set as the starting point) or the name of the process to be started

  • Redirect to the next step of the process: condition JAVASCRIPT - specifies whether automatic redirection to the next step should occur (user task); default value: false.

Illustration 3. Example of defining the START_APPLICATION action triggered after clicking a Trigger.

The application will be launched after the event that handles the START_APPLICATION action is invoked.

Last updated

Was this helpful?