[Joget DX8] Need Guidance - Issue with Form Data Loading in Process vs Direct Form Access

Confluence User - 06 Dec, 2024

Hello! I am using Joget DX8 . I have a form, and after creating and viewing the list:

Case 1: When I click the "edit" button calling the URL: http://localhost:8080/jw/web/userview/LoanProcessApp/loan_page/_/cap_nhat_chu_dau_tu?id=ffcfa8cb-3db7-46f4-a95f-2cbb5e3112df The data automatically loads into the form for me => OK

Case 2: I want to record update history, so I created a process to handle it. When I click the "edit" button calling the URL: http://localhost:8080/jw/web/userview/LoanProcessApp/loan_page/_/cap_nhat_chu_dau_tu?_action=assignmentView&activityId=2013_1990_LoanProcessApp_processCapNhatChuDauTu_activity_detail_chu_dt&id=ffcfa8cb-3db7-46f4-a95f-2cbb5e3112df But the data doesn't load, and the activity ID is hardcoded.

Please help me, or is there any other way in Joget?

I have attached 2 images showing:

  1. Loading with: http://localhost:8080/jw/web/userview/LoanProcessApp/loan_page/_/cap_nhat_chu_dau_tu?id=ffcfa8cb-3db7-46f4-a95f-2cbb5e3112df
  2. Loading with: http://localhost:8080/jw/web/userview/LoanProcessApp/loan_page/_/cap_nhat_chu_dau_tu?_action=assignmentView&activityId=2013_1990_LoanProcessApp_processCapNhatChuDauTu_activity_detail_chu_dt&id=ffcfa8cb-3db7-46f4-a95f-2cbb5e3112df
    ++ Varnaa  ^^
forms;datalists;userviews;user

5


06 Dec, 2024
confluenceUser
1
confluenceUser

Hi there, if you are goal is record update history of the form records then check out this Form Data Audit Trail plugin which does exactly what you need out of the box. 

If the plugin doesn't workout for your use case could you please tell us more about how the process of this hardcoded activity id was created? Also both the screenshots seems to have data.. can you clarify what data is not loading grinning face with sweat 

 Activity is part of the process flow, and each process has its own unique form record ID. For the data to be properly linked in the activity, the process record ID must match the row ID that you are passing to the activity and they should share the same table name.

06 Dec, 2024
confluenceUser
confluenceUser

Hello Varnaa  ^^

Thank you, I will review the Form Data Audit Trail plugin.
Additionally, in my case, if I want to view/edit a form using a process flow, how should I do it? Let me explain with a clear example:
I have a form, e.g.,
Leave Request -> Create form with process: success
-> I want to edit

Case 1: If I drag the Form menu in and select according to the path http://localhost:8080/jw/web/userview/LoanProcessApp/loan_page/_/cap_nhat_chu_dau_tu?id=ffcfa8cb-3db7-46f4-a95f-2cbb5e3112df then the data is displayed as shown 

Case 2: If I drag the Process menu in, how can I view the details?
Because if I configure http://localhost:8080/jw/web/userview/LoanProcessApp/loan_page/_/cap_nhat_chu_dau_tu_with_process?id=ffcfa8cb-3db7-46f4-a95f-2cbb5e3112df it automatically redirects to http://localhost:8080/jw/web/userview/LoanProcessApp/loan_page/_/cap_nhat_chu_dau_tu_with_process?_action=assignmentView&activityId=2013_1990_LoanProcessApp_processCapNhatChuDauTu_activity_detail_chu_dt

and doesn't show the data. Could you guide me through Case 2?

06 Dec, 2024
confluenceUser
confluenceUser

okay  Varnaa  ^^

06 Dec, 2024
confluenceUser
confluenceUser

Great thanks, will be looking forward to it.

08 Dec, 2024
confluenceUser
confluenceUser

thank Varnaa  sp ^^

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print