cancel
Showing results for 
Search instead for 
Did you mean: 

Adding BPM to opencmis Workdesk application

c_bo
Champ in-the-making
Champ in-the-making
Hi,

Investigating Workdesk for a few day now. Alfresco community 4.2.e , and Workdesk community 4.1.1.1-2013-10-07-dist are running together on a Windows 7: the
opencmis
application is working fine.

Now, I would like to expose BPM tasks.
So I did
<ul><li>the database table creation in SQL, </li>
  <li>the AMP deployment, </li>
  <li>the workdesk
context.xml
creation with database connection information, </li>
  <li>the
bootstrap.xml
configuration for database and BPM connections. </li>
  <li>Then I added the
AWD BPM
master plug-in. </li>
</ul>

Now, in my application, I can see the
AWD BPM
tab. When I select it, an empty layout is displayed first, and when I select another tab and comes back to
AWD BPM
, an error is raised in the logs (see attached log).

<ol>
  <li>I tried to start again from a clean state: deleting the db content, tomcat work dir content, modifying the
opencims
application. Did I miss anything in clean-up? </li>
  <li>Log is showing several
DEBUG
messages that look like errors:
 owd.adp.opencmis [admin] - OwCMISAbstractObject.getProperty(): Could not retrieve property cmis:folder.cmis:name
. Any connection issue with the Alfresco API? </li>
  <li>Any indication to add the BPM tab to the opencmnis sample? </li>
  <li>Would there be another sample available exposing Alfresco activiti BPM?</li>
</ol>

Thanks,
   Cyril

1 REPLY 1

d_evil
Champ in-the-making
Champ in-the-making
Hi Cyril,

it seems that in the plugins.xml there are no ListView's configured,
try to copy from the Browse plugin the ResultListView tag or put following:
<blockcode>
<ResultListViews>
      <view classname="com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewFilterRow">
        <viewmasks>
          <mask>VIEW_MASK_USE_DOCUMENT_PLUGINS</mask>
          <mask>VIEW_MASK_INSTANCE_PLUGINS</mask>
          <mask>VIEW_MASK_MULTI_SELECTION</mask>
        </viewmasks>
      </view>
      <view classname="com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewFilterEXTJSGrid">
        <isNoteEditable>false</isNoteEditable>
        <NoteProperties>
          <NoteProperty>bpm:comment</NoteProperty>
        </NoteProperties>
        <viewmasks>
          <mask>VIEW_MASK_USE_DOCUMENT_PLUGINS</mask>
          <mask>VIEW_MASK_INSTANCE_PLUGINS</mask>
          <mask>VIEW_MASK_MULTI_SELECTION</mask>
        </viewmasks>
      </view>
    </ResultListViews>
</blockcode>
into your BPM plugin.