1
0
-1

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

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      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!

        CommentAdd your comment...
      1.  
        1
        0
        -1

        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

          CommentAdd your comment...