cancel
Showing results for 
Search instead for 
Did you mean: 

JBPM Workflow Task Transition Buttons Not Showing in Share

varsenault
Champ in-the-making
Champ in-the-making
Hi,

We are trying to migrate to 4.2c from 3.2r. A custom JBPM workflow that works perfectly in the 4.2c Explorer interface doesn't show the transition buttons in Alfresco Share. So after the start workflow "task", users can transition further in Share. Works perfectly in Explorer, all the other task properties are showing up properly… Here is what one task form UI definition looks like:

<config evaluator="task-type" condition="girproxyvoting2:FirstProxyCaptureTask">
  <forms>
    <form>
      <field-visibility>
         <show id="girproxyvoting2:assignmentComments" />
         <show id="girproxyvoting2:firstProxyCaptureErrorMessage" />
         <show id="girproxyvoting2:firstProxyCaptureComments" />
         <show id="girproxyvoting2:proxyReceived" />

         <show id="packageItems" />
      </field-visibility>
      <appearance>
         <set id="info" appearance="" template="/org/alfresco/components/form/2-column-set.ftl" />
           <set id="items" appearance="title" label="Packaged Documents" />

         <field id="girproxyvoting2:assignmentComments" read-only="true" label="Comments (assignment)">
            <control template="/org/alfresco/components/form/controls/textarea.ftl">
               <control-param name="style">width: 95%</control-param>
            </control>
         </field>
         <field id="girproxyvoting2:firstProxyCaptureErrorMessage" label="Comments (first proxy capture)">
            <control template="/org/alfresco/components/form/controls/textarea.ftl">
               <control-param name="style">width: 95%</control-param>
            </control>
         </field>
         <field id="girproxyvoting2:firstProxyCaptureComments" label="Error Message (first proxy capture error message)">
            <control template="/org/alfresco/components/form/controls/textarea.ftl">
               <control-param name="style">width: 95%</control-param>
            </control>
         </field>
         <field id="girproxyvoting2:proxyReceived" />

           <field id="packageItems" set="items" />
      </appearance>
    </form>
  </forms>
</config>
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

your form configuration is missing the field "transitions", so it is to be expected that workflow transitions are not being displayed in the Share user interface. Add the field "transitions" to the field-visibility section and associate it with the "transitions.ftl" in the appearance section to make it work.

Regards
Axel
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.