• if else statement in jboss

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #42811  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.
 #42832  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

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.