tool beanshell js code process and workflow variables

Confluence User - 30 Jul, 2024

Hello everyone, Can I use a variable in a workflow variable without it being bound to any field in the forms? If the answer is yes, how can I give this variable a value to store in it from the Beanshell js code tool in the process? 

Because I do that but it doesn't work, please some help
process;tools;plugins;pluin;javascript;workflow_variable

1


31 Jul, 2024
confluenceUser
confluenceUser

Hi, 
The answer is yes. You can either use Setting Workflow Variable Value in Process Tool Bean Shell or using a plugin that is available in the marketplace https://marketplace.joget.com/jw/web/userview/mp/mpp/_/vad?id=WVariable_Update_Tool-1

However, For beanshell, it should be in Java format. Not javascript.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print