mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
109441: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) 109381: Merged DEV to V4.2-BUG-FIX (4.2.5) MNT-11472: [PUBLIC-WORKFLOW-API] Processing of Association Properties in Tasks convert incorrect - Dictionary service will be used to find association definition, when assoc def is absent for RestVariableHelper. Also, unit test was added. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@109501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
97 lines
3.1 KiB
XML
Executable File
97 lines
3.1 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.alfresco.org/model/dictionary/1.0 ../../../../webapps/alfresco/WEB-INF/classes/alfresco/model/modelSchema.xsd"
|
|
xmlns="http://www.alfresco.org/model/dictionary/1.0" name="wbpm:AssigneeTest">
|
|
|
|
<description>BPM Assignee Test Model</description>
|
|
<author>Workdesk</author>
|
|
<version>1.0</version>
|
|
<imports>
|
|
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
|
<import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm"/>
|
|
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
|
</imports>
|
|
<namespaces>
|
|
<namespace uri="workdesk.alf.bpm" prefix="wbpm"/>
|
|
</namespaces>
|
|
<constraints>
|
|
<constraint name="wbpm:listDelegation" type="LIST">
|
|
<parameter name="allowedValues">
|
|
<list>
|
|
<value>Expression</value>
|
|
<value>OnCreate</value>
|
|
<value>Other</value>
|
|
</list>
|
|
</parameter>
|
|
</constraint>
|
|
</constraints>
|
|
<types>
|
|
<type name="wbpm:DelegateTask">
|
|
<title>Delegation Task (Assignee)</title>
|
|
<parent>bpm:workflowTask</parent>
|
|
<properties>
|
|
<property name="wbpm:nextStep">
|
|
<title>Next Step</title>
|
|
<type>d:text</type>
|
|
<protected>false</protected>
|
|
<mandatory>false</mandatory>
|
|
<multiple>false</multiple>
|
|
<default>Expression</default>
|
|
<constraints>
|
|
<constraint ref="wbpm:listDelegation" />
|
|
</constraints>
|
|
</property>
|
|
</properties>
|
|
<associations>
|
|
<association name="wbpm:delegatee">
|
|
<title>Responsible person</title>
|
|
<source>
|
|
<mandatory>false</mandatory>
|
|
<many>false</many>
|
|
</source>
|
|
<target>
|
|
<class>cm:person</class>
|
|
<mandatory>true</mandatory>
|
|
<many>false</many>
|
|
</target>
|
|
</association>
|
|
</associations>
|
|
</type>
|
|
<type name="wbpm:expressionTask">
|
|
<title>Expression Task (Assignee)</title>
|
|
<parent>bpm:workflowTask</parent>
|
|
<mandatory-aspects>
|
|
<aspect>wbpm:CommentAspect</aspect>
|
|
</mandatory-aspects>
|
|
</type>
|
|
<type name="wbpm:onCreateTask">
|
|
<title>On Create (Assignee)</title>
|
|
<parent>bpm:workflowTask</parent>
|
|
<mandatory-aspects>
|
|
<aspect>wbpm:CommentAspect</aspect>
|
|
</mandatory-aspects>
|
|
</type>
|
|
<type name="wbpm:otherTask">
|
|
<title>Other Task (Assignee)</title>
|
|
<parent>bpm:workflowTask</parent>
|
|
<mandatory-aspects>
|
|
<aspect>wbpm:CommentAspect</aspect>
|
|
</mandatory-aspects>
|
|
</type>
|
|
</types>
|
|
<aspects>
|
|
<aspect name="wbpm:CommentAspect">
|
|
<title>Step Comment</title>
|
|
<properties>
|
|
<property name="wbpm:comment">
|
|
<title>Comment</title>
|
|
<type>d:text</type>
|
|
<protected>false</protected>
|
|
<mandatory>false</mandatory>
|
|
<multiple>true</multiple>
|
|
</property>
|
|
</properties>
|
|
</aspect>
|
|
</aspects>
|
|
</model>
|