This content has been marked as final.
Show 3 replies
-
1. Re: redeploying processDef problem
qweniden Jun 23, 2006 12:18 PM (in response to qweniden)For clarification, what I mean is lets say one of my nodes looks like this:
So version 1 of this definition would have node name GenerateETOWorkOrder in the database.
Then lets say I edit the WF XML and repeploy like this:
If I look in the database, that node should be named NEW_NODE_NAME in version 2, but its still named GenerateETOWorkOrder as it was in the previous version.
Any ideas? -
2. Re: redeploying processDef problem
qweniden Jun 23, 2006 12:19 PM (in response to qweniden)For clarification, what I mean is lets say one of my nodes looks like this:
<state name="GenerateETOWorkOrder"> <event type="node-enter"> <action class="org.openitsm.sr.workflow.WorkFlowActionHandler"/> </event> <transition to="end"/> </state>
So version 1 of this definition would have node name GenerateETOWorkOrder in the database.
Then lets say I edit the WF XML and repeploy like this:<state name="NEW_NODE_NAME"> <event type="node-enter"> <action class="org.openitsm.sr.workflow.WorkFlowActionHandler"/> </event> <transition to="end"/> </state>
If I look in the database, that node should be named NEW_NODE_NAME in version 2, but its still named GenerateETOWorkOrder as it was in the previous version.
Any ideas? -
3. Re: redeploying processDef problem
cpob Jun 23, 2006 1:31 PM (in response to qweniden)ProcessDefinition procDef = ProcessDefinition.parseXmlResource(mapName);
Sounds like that mapName is being incorrectly specified, or is pointing to the old xml?