Process - no variables in variable list

Confluence User - 03 Jan, 2017

Hi!

I am new to joget.
I created a new app including forms, datalist, userview and a process.
In form creation I defined some fields as variables by defining a variable Name in the field's properties.

Yet, those variables do not appear in the process variable list an are not chooseable in process Routing (decision).

What am I doing wrong or what might be missing?

Any help appreciated.
Thank you.

Kind regards, Andreas

forms;process

6


03 Jan, 2017
confluenceUser
1
confluenceUser

Hi there,

Workflow variables in Joget aren't defined in the Forms.
You would need to define the workflow variables in the Process Builder as mentioned in Workflow Variables and use them in your routes' transitions. Then they'll show up in the variables' list on the process definition page.

After this, you can map form fields to these variables (by typing in the variables' names) in your forms.

Hope this help!

Thanks..

03 Jan, 2017
confluenceUser
confluenceUser

Hi! Thanks for the hint. Do you mean the Java based workflow designer? How do I Login there? Admin/Admin doesn't work. Thanks!

04 Jan, 2017
confluenceUser
confluenceUser

Not necessarily the workflow designer applet. If you're using v5, you can always use the web-based ProcessBuilder to do almost everything (and this includes creating workflow variables as well). As to your second problem, the workflow designer shouldn't ask for authentication if you're already logged-in in Joget. Even if the session ends, it accepts the same credentials as in Joget. Do you see any errors in the logs when you enter admin/admin as creds and they aren't accepted?

04 Jan, 2017
confluenceUser
confluenceUser

Thanks. I managed to login to the Applet on the Server. But how do I - as you mentioned - create workflow variables directly in the web-based v5 ProcessBuilder? Thank you!

04 Jan, 2017
confluenceUser
confluenceUser

Hover on the name of the process in the ProcessBuilder and you'd see a Properties button pop-up. Click on it and it would open a properties dialog where you can create workflow variables and configure SLAs etc. Also, could you please choose to accept the original answer (if that was okay:)) to help others later?

09 Jan, 2017
confluenceUser
confluenceUser

Thanks a lot.! Sure, will do.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print