Versions Compared

Key

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

...

StepsScreens (Click To View)

Steps To Import This Plugin

  1. Go to the website https://marketplace.joget.org/jw/web/userview/mp/mpp/_/vad?id=imgDatalistFormatter

  2. Click "Download" on this plugin screen (It will be a .jar file).

  3. Go to your Joget Workflow localhost or server and login as admin.

  4. In Joget Console navigate to "Admin Bar>Systems Settings>Manage Plugins" and click "Upload Plugins" button.

  5. In "Upload Plugin", select the plugin .jar file you just downloaded, then click "Upload".

  6. You should be able to view the newly installed plugin under the Installed Plugins tab.
  7. This plugin type will show up when you map participants to users.

  8. Remember to always uninstall the old plugin before uploading a new version.

  9. The Joget Workflow Knowledge Base has more information on managing and developing plugins.

Steps to use the Plugin

  1. Start the Joget server and open the App Centre.

  2. Login as admin and click on Design New App (See Figure 1) or click on existing application.

  3. For new application, fill up the App Details and click on Save button. (See Figure 2)

  4. Create New Form, fill up Form Details and click on Save button. (See Figure 3)
Create a new Process or select an existing Process in your application

  1. Generate an approval process app by clicking the generate app button in the form builder.
  2. Search for the Map Participants to Users tab in Processes.

  3. Click on the Add/Edit Mapping button.

  4. Select the Map to Plugin tab and search for the Javascript Conditional Participant plugin.

  5. For example purposes, fill up the script element with 1==1 and the username element as cat so that it will return as true and the user who will be participating will be Cat Grant.

  6. Run a new process by clicking the Run Process button in the Processes page.

  7. In this case,
whichever activity that is involved with the participant we have configured
  1. the approval process will be assigned to Cat Grant and we can confirm this by checking the monitor.

Figure 1

Image RemovedImage Added

Figure 2

Image RemovedImage Added

Figure 3

Image RemovedImage Added

Figure 4

Image RemovedImage Added

Figure 5

Image Added

Figure 6

Image Added

Figure 7


Javascript Conditional Participant Properties

...