Workflow recording

OpenKM a de nombreuses fonctionnalités interessantes, mais demande un minimum de configuration pour être pleinement exploité.

Moderator: dedisoft

Forum rules
Avant de poser une question, merci de regarder la documentation du wiki ou d'utiliser la fonction recherche du forum. Et rappelez vous que nous n'avons ni boule de cristal ni possibilité de lire dans les pensées, aussi pensez à spécifier quelle version d'OpenKM vous utilisez ainsi que la version du navigateur web et du système d'exploitation. Pour de plus amples informations lisez Comment reporter un bug efficacement (anglais).
Post Reply
kouadio
Senior Boarder
Senior Boarder
Posts: 68
Joined: Wed Jan 09, 2019 9:26 am

Workflow recording

Post 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?

jllort
Moderator
Moderator
Posts: 11151
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Workflow recording

Post 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 ).

kouadio
Senior Boarder
Senior Boarder
Posts: 68
Joined: Wed Jan 09, 2019 9:26 am

Re: Workflow recording

Post 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"

jllort
Moderator
Moderator
Posts: 11151
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Workflow recording

Post 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 )

kouadio
Senior Boarder
Senior Boarder
Posts: 68
Joined: Wed Jan 09, 2019 9:26 am

Re: Workflow recording

Post by kouadio »

Thank you for your help.
Actually my problem was at the level of dependence, it's solved.

Post Reply