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.
Setting the form as the application's starting point (recommended) and launching the application
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:

Note! After changing the starting form it may be necessary to "invalidate cache" in webforms (if the application has already been run before). To do this, execute the following cURL command (replace USER and PASSWORD with the appropriate credentials):
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_appWhen 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
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:

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.

The application will be launched after the event that handles the START_APPLICATION action is invoked.
Last updated
Was this helpful?
