无法在Alfresco共享4.2中启动工作流程

时间:2013-11-30 15:19:09

标签: alfresco activiti

我删除了现有流程,并将ID重命名为自定义ID MyActivitiParallelReview。通过activiti管理控制台重新部署此过程。我在share-config-custom.xml中定义了以下配置。

     <config evaluator="string-compare" condition="activiti$MyActivitiParallelReview">
      <forms>
     <form>
        <field-visibility>
           <show id="bpm:workflowDescription" />
           <show id="bpm:workflowDueDate" />
           <show id="bpm:workflowPriority" />
           <show id="bpm:assignees" />
           <show id="wf:requiredApprovePercent" />
           <show id="packageItems" />
           <show id="bpm:sendEMailNotifications" />
        </field-visibility>
        <appearance>
           <set id="" appearance="title" label-id="workflow.set.general" />
           <set id="info" appearance="" template="/org/alfresco/components/form/2-                column-set.ftl" />
           <set id="assignee" appearance="title" label-id="workflow.set.assignees" />
           <set id="items" appearance="title" label-id="workflow.set.items" />
           <set id="other" appearance="title" label-id="workflow.set.other" />

           <field id="bpm:workflowDescription" label-id="workflow.field.message">
              <control template="/org/alfresco/components/form/controls/textarea.ftl">
                 <control-param name="style">width: 95%</control-param>
              </control>
           </field>
           <field id="bpm:workflowDueDate" label-id="workflow.field.due" set="info">
              <control template="/org/alfresco/components/form/controls/date.ftl">
                  <control-param name="showTime">false</control-param>
                  <control-param name="submitTime">false</control-param>
              </control>
           </field>
           <field id="bpm:workflowPriority" label-id="workflow.field.priority"        set="info">
              <control template="/org/alfresco/components/form/controls/workflow/priority.ftl" />
           </field>
           <field id="wf:requiredApprovePercent" label-id="workflow.field.requiredApprovePercent" set="assignee">
              <control template="/org/alfresco/components/form/controls/percentage-approve.ftl">
                 <control-param name="minValue">1</control-param>
                 <control-param name="maxValue">100</control-param>
              </control>
           </field>
           <field id="bpm:assignees" label-id="workflow.field.reviewers" set="assignee"    />
              <field id="packageItems" set="items" />
              <field id="bpm:sendEMailNotifications" set="other">
              <control template="/org/alfresco/components/form/controls/workflow/email-    notification.ftl" />
                </field>
            </appearance>
           </form>
          </forms>
        </config>

然而,当我从share启动工作流程时,我看到错误10300034无法启动工作流程activiti $ MyActivitiParallelReview:1:1959

请帮我解决可能出现的问题?

1 个答案:

答案 0 :(得分:1)

搞定了,当我重命名id时,我忘了用新的id重命名图元素。我纠正了。