cancel
Showing results for 
Search instead for 
Did you mean: 

New To Alfresco - Workflow Addition

abhishek
Champ in-the-making
Champ in-the-making
Hi , i am new to alfresco and for the last one week have been trying to add a workflow to alfresco but have failed , i have implemented the files as per the post but still i am not able to see the workflow.

I used the link in the forum :

https://forums.alfresco.com/en/viewtopic.php?f=34&t=43688

I am confused what is the going wrong , if i am using the sample workflow named lifecycle it is working fine only when i try to add my workflow its has issues.


C:\Alfresco\tomcat\shared\classes\alfresco\extension\

lifecycle_processdefinition.xml
lifecycle-messages.properties
lifecycleModel.xml
lifecycle-process.bpmn20.xml

Can some give me a working code , just a very simple one so that i can understand how alfresco is processing through the files , i have understood the files but i am not able to link them for a new one


any help is good now for me …


Regards,

Abhishek
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
I see you have both a jBPM process definition (lifecycle_processdefinition.xml) and an Activiti process definition (lifecycle-process.bpmn20.xml). Are you intentionally attempting to deploy a process to both workflow engines? If so, that isn't a problem, but most people choose one or the other.

I see you have a lifecycleModel.xml, which is your workflow content model. I do not know whether you are pointing to it from a *-context.xml file, though, which you must do in order for Alfresco to know about your content model.

You have not included a user interface configuration file for either Alfresco Explorer or Alfresco Share. If your workflow has no user interface, this is not a problem. Most people will want a user interface so their users can use the workflow, and this requires a configuration file.

The tutorial you referred to in your link has working code that accompanies it and it includes a very simple hello world process as well as a slightly more complex process that includes decisions and so on.

So I'd recommend you work through that tutorial and the source code step-by-step. If you have done that, and you were successful, you should be able to make your custom workflow work. If you were successful working through the tutorial but your custom workflow does not work, please provide the contents of your files and remember to surround the file content with code tags to make it look nice in the forum post.

Jeff