Page 1 of 1

if else statement in jboss

PostPosted:Wed Dec 21, 2016 1:13 am
by jimac
Good day!

I am trying to make an if else statement wherein when user1 clicked the accept button, the document will be moved to another folder.

Can you help me construct this code?
Thank you.

Re: if else statement in JBoss

PostPosted:Thu Dec 22, 2016 8:06 am
by jllort
Take a look here https://docs.openkm.com/kcenter/view/wf ... ample.html

When you understood the previous link, simply must place the code for each transaction ( take a look here https://docs.openkm.com/kcenter/view/wf ... -node.html )

In the context vars you have the uuid ( the node of the object what has started the wf, I suppose is what you want to move ? ). About using variables take a look here https://docs.openkm.com/kcenter/view/wf ... ample.html