Hi Paul,
We need a new feature in Sarasvati: possibility to provide custom data about process as a whole in the process definition xml.
Examples of custom process data: process description/documentation, process parameters, time restrictions, execution flags, authorization requirements, etc.
All this (and more) can be easily supported by adding optional <custom> element to the process xml, similar to <custom> element defined on the node level; plus access to this data using Sarasvati API.
E.g.:
<process-definition name="MyProcess" xmlns="
http://sarasvati.googlecode.com/ProcessDefinition">
<custom>
<processInfo xmlns="urn:mynamespace/sarasvati-extensions">
<description><![CDATA[<p> .....</p>]]></description>
<parameters> .... </parameters>
<flags runWithCallerIdentity="true" allowConcurrentInstances="false"/>
...
</processInfo>
</custom>
<node name="Start node" isStart="true">
...
I attached a simple patch that adds optional <custom> element to the ProcessDefinition.xsd and corresponding code changes.
What do you think about adding this feature to Sarasvati, and maybe including it into the next release?
Thank you,
Vlad