cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow - Stuck at the beginning

void
Champ in-the-making
Champ in-the-making
Hello,
i saved this sample workflow (http://wiki.alfresco.com/wiki/WorkflowSample_Lifecycle) to the needed files.
According to the wiki i should upload these files into a dir on the server. But I fail already to find the right directory. On my test server isn't a folder-tree like: alfresco/extension/workflow/
Where should I upload these files?
6 REPLIES 6

raptus
Champ in-the-making
Champ in-the-making
You can choose and create your own installation for workflows.
You can put files into tomcat web-inf or into shared path…

The standard installation is on "tomcat/shared":

tomcat/shared/classes/alfresco/extension -  here you must put the context files (the label-messages files if you have custom data models) and the web-config-client-custom.xml file for the web-ui customization.

into tomcat/shared/classes/alfresco/extension/workflow (or "workflows", this doesn't care, YOU must create this folder and rename it as you want!) you should put the process definition, the model and, of course the wf-messages.
I suggest you to use the console for deploying in-line all files… workflow console for wf, webui console for web-client-config-custom and repoadmin console for models.

I hope it'll be helpful…

Raptus

zaizi
Champ in-the-making
Champ in-the-making
This should be shipped with the default Alfresco installation in tomcat/shared/classes/alfresco/extension.You'll need to remove the ".sample" extension from the various files needed to bootstrap workflow, the model and context files.

void
Champ in-the-making
Champ in-the-making
Okay i found and created the dir.
/var/opt/Alfresco/tomcat/shared/classes/alfresco/extension/workflow/
Now i copied the code from http://wiki.alfresco.com/wiki/WorkflowSample_Lifecycle.
And then i put these four files 
lifecycle-messages.properties  lifecycleModel.xml  lifecycle_processdefinition.xml  lifecycle-workflow-context.xml
in the dir.

The i opened the workflow console:
http://foobar:8080/alfresco/faces/jsp/admin/workflow-console.jsp

Then i tried to deploy this worklfow with:
deploy /var/opt/Alfresco/tomcat/shared/classes/alfresco/extension/workflow/lifecycle_processdefinition.xml 
but I get an error:
Last command: deploy/Alfresco/tomcat/shared/classes/alfresco/extension/workflow/lifecycle_processdefinition.xml
Duration: 2ms
—–

org.alfresco.error.AlfrescoRuntimeException: 01170070 Exception in Transaction.



An idea? Thank you

raptus
Champ in-the-making
Champ in-the-making
Are you sure that's the correct syntax?? Not "deploy file"?

void
Champ in-the-making
Champ in-the-making
According to the wiki is the command right

vodaland
Champ in-the-making
Champ in-the-making
Try
deploy /alfresco/extension/workflow/lifecycle_processdefinition.xml

It should works.

cheers