03-13-2012 04:54 AM
<aspects>
<aspect name="mcwm:projectCharter">
<properties>
……..
<property name="cm:userName">
……….
</property>
</properties>
<associations>
<association name="mcwm:teamWithDoc">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</aspect>
<types>
<!–type for start form–>
<type name="mcwm:submitStart">
<parent>bpm:startTask</parent>
….some properties…….
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
<aspect>mcwm:projectCharter</aspect>
</mandatory-aspects>
</type>
</types>
03-13-2012 06:16 AM
03-13-2012 06:54 AM
03-14-2012 12:16 AM
03-16-2012 04:23 AM
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of a Workflow –>
<model name="mcwm:CustomWorkflowModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Custom Workflow Model</description>
<author>Custom</author>
<version>1.0</version>
<!–Imports are required to allow references to definitions in other models–>
<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>
<!– Introduction of new namespaces defined by this model –>
<namespaces>
<namespace uri="http://www.custom.ch/model/workflow/1.0" prefix="mcwm" />
</namespaces>
<constraints>
<constraint name="mcwm:scmChoices" type="LIST">
<parameter name="allowedValues">
<list>
<value>no</value>
<value>yes</value>
</list>
</parameter>
</constraint>
<constraint name="mcwm:transitionChoices" type="LIST">
<parameter name="allowedValues">
<list>
<value>Pošalji na prihvat</value>
<value>Vrati u pripremu</value>
</list>
</parameter>
</constraint>
<constraint name="mcwm:transitionChoicesPMO" type="LIST">
<parameter name="allowedValues">
<list>
<value>Prihvati</value>
<value>Vrati</value>
</list>
</parameter>
</constraint>
</constraints>
<types>
<!–type for start form–>
<type name="mcwm:submitStart">
<parent>bpm:startTask</parent>
<overrides>
<property name="bpm:reassignable">
<default>false</default>
</property>
<property name="bpm:workflowDescription">
<default>Proces otvaranja novog projekta</default>
</property>
</overrides>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
<aspect>mcwm:projectCharter</aspect>
</mandatory-aspects>
</type>
<!–type for preparation of project charter form–>
<type name="mcwm:preparationOfProjectCharter">
<parent>mcwm:submitStart</parent>
<properties>
<property name="mcwm:scmResources">
<title>SCM resources needed?</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="mcwm:scmChoices"/>
</constraints>
</property>
<property name="mcwm:scmRationalTeam">
<title>Rational Team Concert Source Control?</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="mcwm:scmChoices"/>
</constraints>
</property>
<property name="mcwm:scmRationalTeamWork">
<title>Rational Team Concert Work Items (issue tracker)?</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="mcwm:scmChoices"/>
</constraints>
</property>
<property name="mcwm:scmSubversion">
<title>Subversion (source control)?</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="mcwm:scmChoices"/>
</constraints>
</property>
<property name="mcwm:scmTrack">
<title>Trac (issue tracker)?</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="mcwm:scmChoices"/>
</constraints>
</property>
<property name="mcwm:scmTrackRequire">
<title>Require Trac issue # in Subversion commit comment?</title>
<type>d:text</type>
<mandatory>true</mandatory>
<default>yes</default>
<constraints>
<constraint ref="mcwm:scmChoices"/>
</constraints>
</property>
<property name="mcwm:scmJenkins">
<title>Jenkins (continuous integration)?</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="mcwm:scmChoices"/>
</constraints>
</property>
<property name="mcwm:scmSonar">
<title>Sonar (project metrics)?</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="mcwm:scmChoices"/>
</constraints>
</property>
<property name="mcwm:scmNotes">
<title>Additional SCM notes</title>
<type>d:text</type>
</property>
</properties>
<associations>
<association name="mcwm:scmResourcesPeopleList">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
<association name="mcwm:scmResourcesPeopleListAdmin">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
<overrides>
<property name="bpm:reassignable">
<default>false</default>
</property>
</overrides>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
<aspect>mcwm:projectCharter</aspect>
</mandatory-aspects>
</type>
<!–type for validation of project charter form–>
<type name="mcwm:validationOfProjectCharters">
<parent>mcwm:submitStart</parent>
<properties>
<property name="mcwm:reviewOutcome">
<type>d:text</type>
<default>Reject</default>
<constraints>
<constraint ref="mcwm:transitionChoices"/>
</constraints>
</property>
</properties>
<overrides>
<property name="bpm:reassignable">
<default>false</default>
</property>
</overrides>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
<aspect>mcwm:projectCharter</aspect>
</mandatory-aspects>
</type>
<!–type for acceptance of project charter form–>
<type name="mcwm:acceptanceOfProjectCharter">
<parent>mcwm:submitStart</parent>
<properties>
<property name="mcwm:reviewAcceptanceOutcome">
<type>d:text</type>
<default>Reject</default>
<constraints>
<constraint ref="mcwm:transitionChoicesPMO"/>
</constraints>
</property>
</properties>
<overrides>
<property name="bpm:reassignable">
<default>false</default>
</property>
</overrides>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
<aspect>mcwm:projectCharter</aspect>
</mandatory-aspects>
</type>
</types>
<!–aspect definition for data which are common for all forms-tasks–>
<aspects>
<aspect name="mcwm:projectCharter">
<title>Projektna povelja</title>
<properties>
<property name="mcwm:projectName">
<title>Naziv projekta</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="mcwm:shortProjectName">
<title>Skraceni naziv projekta</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="mcwm:projectOrderer">
<title>Narucitelj projekta</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="mcwm:shortProjectOrderer">
<title>Skraceni naziv narucitelja projekta</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="mcwm:isoProcess">
<title>ISO 9000 proces</title>
<type>d:text</type>
<mandatory>false</mandatory>
<constraints>
<constraint name="mcwm:isoProcessChoices" type="LIST">
<parameter name="allowedValues">
<list>
<value> </value>
<value>održavanje - aplikativno</value>
<value>održavanje - sistemsko</value>
<value>konzalting</value>
<value>razvoj - sa odobrenjem arhitekture</value>
<value>razvoj - bez odobrenja arhitekture</value>
<value>mali razvoj</value>
<value>implementacija</value>
</list>
</parameter>
</constraint>
</constraints>
</property>
<property name="mcwm:reporting">
<title>Ucestalost izveštavanja</title>
<type>d:text</type>
<mandatory>false</mandatory>
<constraints>
<constraint name="mcwm:reportingChoices" type="LIST">
<parameter name="allowedValues">
<list>
<value>mesecno</value>
<value>kvartalno</value>
<value>po okoncanju</value>
</list>
</parameter>
</constraint>
</constraints>
</property>
<property name="mcwm:projectGoals">
<title>Ciljevi projekta</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="mcwm:beginDate">
<title>Datum pocetka projekta</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="mcwm:endDate">
<title>Datum okoncanja projekta</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="mcwm:teamResource">
<title>Predvideni utrošak ljudskih resursa</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="mcwm:teamComent">
<title>Komentar na predvideni utrošak ljudskih resursa</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="mcwm:changeComent">
<title>Komentar izmene</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="mcwm:commentsHistory">
<title>Istorija komentara</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
</properties>
<associations>
<association name="mcwm:teamWithDoc">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
<association name="mcwm:teamWithoutDoc">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</aspect>
</aspects>
</model>
What i am doing wrong, any idea? 03-20-2012 07:20 AM
I put association value from first task to global value. On my second task i have completely different association (different variable). On second task create i set this second variable to the value of global value just to user can what was typed on previous task. On second task complete i want to pick value of second task association to put her on global variable, but second task association value is not updated even user pick something during task, her value is the same as i set on task create. Looks like the value of association can be set only once?
04-10-2012 09:40 AM
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.