Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

How to Start New Process Instance Based on Existing Form Record

English
In a Run Process Menu, upon clicking on it, it will normally bring up an empty form as the following.

Image Modified

Figure 1: Start Process Menu

However, we can start a new process instance by referencing it to an existing record. To do so, we will need to modify the address of the page by adding "recordId" parameter and with the primary key of the record.

For example, the current URL is

http://localhost:8080/jw/web/userview/demo/v/_/request_submit

Change it to

http://localhost:8080/jw/web/userview/demo/v/_/request_submit?recordId=0df70dca-d51f-4c8d-9de1-2e3e9c0dc0c2

Image Modified

Figure 2: Start Process Menu with recordId parameter

How to Start a New Process Instance by Selecting from a List

In a real-world case scenario, one would ideally be able to choose which record to pick to start a process with.

Image Added

Figure 3: CRUD - Record Listing

We can add a Hyperlink Action with its link pointing to the same Run Process menu earlier.

Image Added

Figure 4: CRUD with Hyperlink to Start Process

Image Added

Figure 5: Starting a New Process Instance with Existing Record