How to get Current User Password?

Confluence User - 08 Oct, 2016

Dear Expert,

I am using Joget V5 and  trying to start a process when a user submitted a form by "Form Json Post Tools" plugin. with the URL as follow:

http://127.0.0.1:8080/jw/web/json/workflow/process/start/EGN_ERP:3:StockTransfer

But it did not work as it required the parameter of j_username and j_password for authentication

So how can I get the current user password? BTW,  i can get the current username by #currentUser.username#

Best Regards

Tony Chu

process;json;variables;hash

2


08 Oct, 2016
confluenceUser
confluenceUser

Dear Expert,

I got a workaround solution that I make the process which can start by "Everyone (Including Anonymous)" then it work

Best Regards

Tony Chu

10 Oct, 2016
confluenceUser
1
confluenceUser

Hey there,

You don't need to make another (web request) call to Joget when you are already inside Joget.

Use workflowManager.processStart().

See https://dev.joget.org/community/display/KBv5/Bean+Shell+Programming+Guide#BeanShellProgrammingGuide-UseasProcessToolUseasProcessTool

Good luck!

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print