Joget DX Preview Release Available for Download

Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.

Skip to end of metadata
Go to start of metadata

When a form is mapped to a process activity, Joget will create a record row using the PID as the primary key in the Application Form table. If you are using the Form Data Update Tool (Enterprise) to update the same Form, Joget would be able to locate the database table and matching the Primary Key (PK) using the PID.

Things get tricky if you are trying to update a Form that is NOT directly part of the flow. Joget will not be able to use the same PID to match the record row.

Table Name:

transactions

PK

id

 

name

FK

account_no

Figure 1: Transaction table which is mapped to the process activity.

Table Name:

accounts

PK

id

 

name

 

expiry

Figure 2: Account table which is not part of the process activity but has relationship to the Transaction table.


Figure 3: Mapping of Form Data Update Tool for Account table.

The solution is simple. One will simply need to define a "id" field in the Update Fields section. State the value that would correspond to the record identifier of the Form.

Related Elements

 

  • No labels