How to invoke a plugin I installed?

Confluence User - 15 Feb, 2023

Hello! I am trying to create a plugin that requires I programmatically invoke another plugin, all the examples I find on how to do this, does it plugins that are already built into Joget, but I found myself needing to invoke a plugin I install myself from the marketplace, and I specifically have no clue what that plugin's full name is.

This is how they refer to built-in plugins


I need to invoke a plugin called "Enhanced JSON Tool" and its installed in "[Joget directory]\wflow\app_plugins" and I don't know how to translate that into its "fully qualified class name". I don't think directly translating the directory is correct, since built-in plugins don't actually do that, and as far as I searched in Joget's KB, there is no resource on this.

process;plugins;beanshell

1


16 Feb, 2023
confluenceUser
confluenceUser

On the target plugin that you want to invoke, you will need to find out the java class path name.

If you have access to the source code. for example, for Email Tool. the path will be


https://github.com/jogetworkflow/jw-community/tree/7.0-SNAPSHOT/wflow-core/src/main/java/org/joget/apps/app/lib

org.joget.apps.app.lib.EmailTool

If you don't have access to its source code, then, use the plugin (i.e. ID GeneatorTool) through i.e. form builder's post processing. Once you have completed configuring it, go to Form Builder > Adv Tool > Definition.

You will be able to find what the plugin class path is, as well as the set of plugin config needed too.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print