Jahia Dev Forum > Create a custom...

0 (0 Good)
0 (0 Bad)

Create a custom workflow in Jahia 7

by  avtarv »  2014/07/16 22:53

Has anyone tried to create a custom workflow in jahia 7?

I tried creating one, (Created a simple bpmn2 file) along with the bean definition xml files. Enabled the module for the site, but dont see my workflow as an option in the drop down in content.

I am guessing I am missing some configuraiton? 

Documentation on: http://www.jahia.com/documentation-and-downloads/developers-techwiki/services/workflows wasnt sufficient to troubleshoot the issue.

So any pointers towards more relevant documentation or towards a sample workflow module src code for jahia 7 would be great.

  • Create a custom workflow in Jahia 7
    2014/07/16 22:53

    avtarv <p>Has anyone tried to create a custom workflow in jahia 7?</p> <p>I tried creating one, (Created a simple bpmn2 file) along with the bean definition xml files. Enabled the module for the site, but dont see my workflow as an option in the drop down in content.</p> <p>I am guessing I am missing some configuraiton?&nbsp;</p> <p>Documentation on:&nbsp;http://www.jahia.com/documentation-and-downloads/developers-techwiki/services/workflows wasnt sufficient to troubleshoot the issue.</p> <p>So any pointers towards more relevant documentation or towards a sample workflow module src code for jahia 7 would be great.</p>

  • Number of messages  2
    Registration date Jul 16, 2014
    0 (0 Good)
    0 (0 Bad)

    Re : Create a custom workflow in Jahia 7

    by  gerald »  2014/07/31 10:32

    Hello you can find an example here : \tomcat\webapps\ROOT\WEB-INF\var\shared_modules\translateworkflow-1.2.war

    gerald
    Number of messages  2
    Not registered
    0 (0 Good)
    0 (0 Bad)

    Re: Re : Create a custom workflow in Jahia 7

    by  sashok »  2016/03/15 10:40

    Or to make it easier:

    https://github.com/Jahia/translationworkflow/

    IMO, you missed the part where you need to add the package org.jahia.modules, as mention in the documentation http://www.jahia.com/get-started/for-developers/developers-techwiki/services/workflows

     

    As you can see in the jBPM configuration file, we use a wildcard classpath lookup to search for the BPMN workflow process definition files. This means that you can simply put in your module in the proper package (by default under org.jahia.modules) a file with the extension bpmn2 and it will be picked-up on Jahia's startup

  • Re: Re : Create a custom workflow in Jahia 7
    2016/03/15 10:40

    sashok <p style="line-height: 20.8px;">Or to make it easier:</p> <p style="line-height: 20.8px;">https://github.com/Jahia/translationworkflow/</p> <p style="line-height: 20.8px;">IMO, you missed the part where you need to add the package org.jahia.modules, as mention in the documentation&nbsp;http://www.jahia.com/get-started/for-developers/developers-techwiki/services/workflows</p> <p style="line-height: 20.8px;">&nbsp;</p> <blockquote style="line-height: 20.8px;"> <p><span style="font-family: Lato, sans-serif; font-size: 14px; line-height: 20px;">As you can see in the jBPM configuration file, we use a wildcard classpath lookup to search for the BPMN workflow process definition files. This means that you can simply put in your module in the proper package (by default under&nbsp;<strong>org.jahia.modules</strong>) a file with the extension bpmn2 and it will be picked-up on Jahia&#39;s startup</span></p> </blockquote>

  • Number of messages  14
    Registration date Mar 15, 2016
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re : Create a custom workflow in Jahia 7

    by  jordannroussel »  2016/11/22 12:58

    In case someone still has issue with implementing a custom workflow in Jahia 7, we improved documentation and made some sort of tutorial there :

    https://www.jahia.com/community/extend/developers-techwiki/services/workflows/example

     

    We will also find the source of our example module there on Github :

    https://github.com/Jahia/dx-examples/tree/master/example-workflow

  • Re: Re: Re : Create a custom workflow in Jahia 7
    2016/11/22 12:58

    jordannroussel <p>In case someone still has issue with implementing a custom workflow in Jahia 7, we improved documentation and made some sort of tutorial there :</p> <p>https://www.jahia.com/community/extend/developers-techwiki/services/workflows/example</p> <p>&nbsp;</p> <p>We will also find the source of our example module there on Github :</p> <p>https://github.com/Jahia/dx-examples/tree/master/example-workflow</p>

  • Number of messages  13
    Registration date Nov 22, 2016
    0 (0 Good)
    0 (0 Bad)

    WorkFlows

    by  michel_dove@yahoo.fr »  2019/02/25 00:18

    Bonsoir,

    la documentation disponiblie à cette adresse quand à la mise en plce d'un workflows custom n'est pas valide: 

    https://github.com/Jahia/dx-examples/tree/master/example-workflow

    la documentation n'est pas à jour. le lien  :  https://www.jahia.com/community/extend/developers-techwiki/services/workflows/example

    n'est plus valide. 

     

      (michel_dove@yahoo.fr)

    Number of messages  1
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page