Page 1 of 1

Workflow recording

Posted: Fri Nov 22, 2019 11:30 am
by kouadio
I would like to save my workflow information according to the following procedure: https://docs.openkm.com/kcenter/view/wf ... ities.html
I encounter the error "The import ..... cannot be resolved" in the following lines:

Code: Select all

import com.openkm.core.DatabaseException;
import com.openkm.dao.DatabaseMetadataDAO;
import com.openkm.dao.bean.DatabaseMetadataValue;
import com.openkm.frontend.client.util.metadata.DatabaseMetadataMap;
import com.openkm.util.DatabaseMetadataUtils;
import com.openkm.util.ISO8601;
I emphasize that I am really new in java.
What should I do?

Re: Workflow recording

Posted: Sat Nov 23, 2019 9:21 am
by jllort
Firts you must download the openkm development environment what comes as a virtual machine. Take a look here https://www.openkm.com/en/download.html ( there's a video what explains how to install it ).

Re: Workflow recording

Posted: Mon Nov 25, 2019 9:39 am
by kouadio
Morning,

I already download the virtual machine and it works perfectly. It is in the setting up of my workflow in eclipse that I report the error "The import ..... cannot be resolved"

Re: Workflow recording

Posted: Wed Nov 27, 2019 7:05 pm
by jllort
OpenKM comes with some samples projects, try to put the code there. Also you are getting error with imports ?
Take a look at in the sample project -> properties -> the libraries added ( OpenKM and Tomcat ) or the project dependencies ( OpenKM )

Re: Workflow recording

Posted: Tue Dec 03, 2019 3:56 pm
by kouadio
Thank you for your help.
Actually my problem was at the level of dependence, it's solved.