Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
You can store the previousId in one of the workflow variables (Hash Variable#WorkflowVariableHashVariable) on the form and use it in where clause as '#variable.previousID#'
In your new process form, add a selectbox field element (field id "PreviousId") for the user to select the previous process record to close, store into DB the record id, then in your process tools, use yr SQL above to update the previous process record status, example:
UPDATE app_fd_crm_application SET c_status= 'Close' WHERE c_id = 'PreviousId'
how to get the previous id with hash variable?
Hi,
how can i udpate status previous application to 'close' after applicant renew their application(with new id) by using database update tool?
UPDATE
app_fd_application SET c_status= 'Close'
WHERE c_id = 'PreviousId'
I dont know how to connect run process with the previous id.
Thanks.