In OpenKM v7.1 the workflow engine is deployed as an independient application to ensure security and stability.
This application contains the jBPM workflow engine which was previously embedded in OpenKM v6.4
How to deploy a workflow
In order to deploy a new workflow, you have to point your browser to http://your-site.tdl/jbpm-console and go to "Admin". The default user and password is admin / admin. Once logged, you should see a list of deployed workflows. And also can deploy a new one using the form.
Keep on mind that this new workflow won't be avaible in OpenKM until you do a couple of tasks:
Register the workflow in the desired tenant
Currently the way of achieving it is executing an SQL sentence. For example, to register the workflow name "purchase" in the first tenant:
insert into OKM_ENTITY_TENANT (ETN_ENTITY, ETN_TENANT, ETN_TYPE) values ('purchase', 1, 'workflow');
Oracle and PostgreSQL databases insert need to set the ETN_ID column value.
insert into OKM_ENTITY_TENANT (ETN_ID, ETN_ENTITY, ETN_TENANT, ETN_TYPE) values (HIBERNATE_SEQUENCE.NEXTVAL, 'purchase', 1, 'workflow');
insert into OKM_ENTITY_TENANT (ETN_ID, ETN_ENTITY, ETN_TENANT, ETN_TYPE) values (nextval('hibernate_sequence'), 'purchase', 1, 'workflow');
So you need to go to OpenKM Administration > Utilities > Database query and execute it.
In next OpenKM release this won't be necessary as a new utility has been added to Administration > Utilities called Workflow tenant.
Make the workflow available in the user profile
Go to Administration > Profiles and choose the workflow to be available to the users who use the profile.