Versions Compared

Key

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

 

Table of Contents


Introduction

The Universal Datalist Inbox Audit Trail Plugin shows the assignments for all the apps that have the plugin attached.

Plugin Information

Plugins Available in the Bundle:

  1. Universal Datalist Inbox Audit Trail

This plugin bundle is compatible with Joget DX 8.

Expected Outcome

To be able to detect assignment creation/update and write common form data into common table to be used in datalist inbox.

Get Started

Steps

Where to get the plugin

  1. Please visit https://github.com/jogetoss/universal-datalist-inbox-audit-trail for the plugin's source code.
  2. You can find the latest release at https://github.com/jogetoss/universal-datalist-inbox-audit-trail/releases.
  3. Upload the plugin to your Joget by navigating to Settings > Manage Plugins > Upload Plugin as admin.

Steps for importing demo app

1. Download the demo app from Download Demo App.

2. Go to Joget Home or All Apps and click on Import App to import the downloaded demo app.

How to install the plugin

1. Attach the plugin at Plugin Default Properties. There are no configuration properties required for this plugin. When you attach this plugin, it will create a common table "

...

assignment_

...

formdata" to store the assignment values for the apps that have this plugin attached.

Image Modified

Figure 1: Plugin Default Properties


2. Create a datalist to show the values from the common table created. Use SELECT * FROM

...

assignment_

...

formdata as the query.

...

Image Added

Figure 2: List Builder - Database SQL Query

...

Figure 5: Process Builder - Simple Process

How to use the plugin

1. If you face this problem, try to

...

uninstall the plugin and attach it again at the Plugin Default Properties in step 1. It will trigger the dao to create the common table again. Make sure you did not make any typo errors for the table name "assignment_formdata".

...

Image Added

Figure 6: Common Table not Created


2. Click on Run Process 1. Fill in anything and Submit.

Image Modified

Figure 7: Run Process 1


3. You will see that there is a record in the List Inbox.

Image Modified

Figure 8: List Inbox with record for Process 1


4. Now try to run process 2. 

Image Modified

Figure 9: Run Process 2


5. You can see that both of the different processes are together in one datalist with their form data respectively.

Image Modified

Figure 10: List Inbox with record for Process 1 and Process 2


6. Create another simple process in another app that has the Universal Datalist Inbox Audit Trail attached in Plugin Default Properties. Run the process.

Image Modified

Figure 11: Create process in another App


7. In the UI, make sure Assignments to Display is Assignments for All Apps to be able to see all apps processes.

Image Modified

Figure 12: Assignments to Display for All Apps Option


8. Now you can see that the other app process is inside this common table. The Form Data is empty here because I have not mapped them in the JSON To Table Formatter Plugin.

Image Modified

Figure 13: List Inbox with record for Process 1, 2, and other Apps


9. After mapping the id, we can see that the id for each respective forms are shown.

Image Modified

Figure 14: Mapping Form Data using JSON To Table Formatter

Download Demo App