Last active
December 20, 2015 18:48
-
-
Save avasyukov/6178164 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<type name="alvexcourse:approveTask"> | |
<!-- Parent changed from bpm:workflowTask to bpm:activitiOutcomeTask --> | |
<parent>bpm:activitiOutcomeTask</parent> | |
<!-- Custom property with constraint that defines possible outcome options --> | |
<properties> | |
<property name="alvexcourse:okOutcome"> | |
<type>d:text</type> | |
<default>OK</default> | |
<constraints> | |
<constraint type="LIST" name="alvexcourse:okOutcomeConstraint"> | |
<parameter name="allowedValues"> | |
<list> | |
<value>OK</value> | |
</list> | |
</parameter> | |
</constraint> | |
</constraints> | |
</property> | |
</properties> | |
<!-- Override bpm:outcomePropertyName with our custom property --> | |
<overrides> | |
<property name="bpm:outcomePropertyName"> | |
<default>{http://alvexcore.com/prefix/alvexcourse}okOutcome</default> | |
</property> | |
</overrides> | |
</type> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment