Font Size:
Ask Joget AI

Workflow Variable Update Process Tool

Introduction

The Workflow Variable Update Process Tool plugin is a process tool to easily update any number of workflow variables in your process. With this tool, you no longer need to use bean shell tool script(s) to update workflow variable values.

Important
This plugin can work as a form post processing tool, provided the first form activity is not a 'run process' start activity.

Plugin information

Plugins Available in the Bundle:

  • Workflow Variable Update Process Tool Plugin

This plugin bundle is compatible with Joget DX 8 and DX 9.

Get started

Where to get the plugin

You can download this plugin from the Joget Marketplace.

How to install

  1. Click Download on this plugin screen (It will be a .jar file).
  2. Go to your Joget localhost or server. In the Joget Console, go to Admin Bar > Systems Settings > Manage Plugins and click the Upload Plugins button.
  3. Under Upload Plugin, select the plugin .jar file you downloaded and click Upload.
  4. Depending on the plugin type, you can now view your new plugin in your form, List, or UI Builder.
  5. Remember to uninstall the old plugin before uploading a new version.
  6. The Joget Knowledge Base has more information on managing and developing plugins.

How to use it

Importing the demo app
  1. Download the demo app.
  2. Go to Joget Home or All Apps and click on Import App to import the downloaded demo app.
Creating app from scratch
  1. Create a from with the required fields. In this example, the form is configured to gather the user's name and age.

  2. Inside the form are hidden fields that keep track of the submitter and status.

  3. Use the Generate App feature to generate an approval process by selecting Generate Process - Approval Process.
  4. Go to the Process Builder and add a workflow variable by clicking on the blue pen icon. You will need to add a Variable ID "submitter".
  5. Add a Process Tool after the Run Process activity and click to configure it.
    • Select Workflow Variable Update Process Tool from the tools dropdown and configure the Workflow Variables Mapping:
      • status (Basic Form Approval Process); Submitted
      • submitter (Basic Form Approval Process); #currentUser.fullName#

       

Run the plugin
  1. To test on a single activity, go to the Run Process and submit the form. 
  2. Using the Administrator Bar, go to Monitor > Running Processes. Select the Activity that you have just submitted and click Workflow Update.

Configure Workflow Variable Update Process Tool properties

Fields to configure:

  • Workflow Variable: Enter the ID of the workflow variable to update. Mandatory field.
  • Value: The variable value that you want to update into.

Expected outcome

The user can easily update any number of workflow variables in their process using this plugin.

Download plugin

Download the plugin from the Joget Marketplace.

Download sample app

Download the demo app for Workflow Variable Update Process Tool:
Created by Yi Zheng Lim Last modified by Debanraj Ravindran on Aug 13, 2026