Commit ef525d68 authored by Ajit Deshmukh's avatar Ajit Deshmukh

Added the SaveTrans condition, currently working for both users

parent fd0f97c5
...@@ -149,6 +149,51 @@ ...@@ -149,6 +149,51 @@
<ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/> <ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/>
</ExtendedAttributes> </ExtendedAttributes>
</Application> </Application>
<Application Id="SAVE" Name="SAVE">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="REF_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="ENTITY_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_INST_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRANS_INFO" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="NEW_REC" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.TransSave"/>
<ExtendedAttribute Name="METHOD_NAME" Value="saveChangeInTrans"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="CANCEL" Name="Cancel workflow"> <Application Id="CANCEL" Name="Cancel workflow">
<FormalParameters> <FormalParameters>
<FormalParameter Id="tranID" Index="1" Mode="IN"> <FormalParameter Id="tranID" Index="1" Mode="IN">
...@@ -217,6 +262,7 @@ ...@@ -217,6 +262,7 @@
<TransitionRefs> <TransitionRefs>
<TransitionRef Id="CHECKSPECR" /> <TransitionRef Id="CHECKSPECR" />
<TransitionRef Id="REJECTED" /> <TransitionRef Id="REJECTED" />
<TransitionRef Id="APPROVED" />
</TransitionRefs> </TransitionRefs>
</Split> </Split>
</TransitionRestriction> </TransitionRestriction>
...@@ -246,6 +292,16 @@ ...@@ -246,6 +292,16 @@
<Performer>VHB_MNGMNT</Performer> <Performer>VHB_MNGMNT</Performer>
<StartMode><Automatic/></StartMode> <StartMode><Automatic/></StartMode>
<FinishMode><Automatic/></FinishMode> <FinishMode><Automatic/></FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="REJECTED" />
<TransitionRef Id="APPROVED" />
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes> <ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="VHB_MNGMNT"/> <ExtendedAttribute Name="ParticipantID" Value="VHB_MNGMNT"/>
<ExtendedAttribute Name="XOffset" Value="0"/> <ExtendedAttribute Name="XOffset" Value="0"/>
...@@ -292,6 +348,52 @@ ...@@ -292,6 +348,52 @@
<ExtendedAttribute Name="YOffset" Value="0"/> <ExtendedAttribute Name="YOffset" Value="0"/>
</ExtendedAttributes> </ExtendedAttributes>
</Activity> </Activity>
<Activity Id="SAVE" Name="SAVE">
<Implementation>
<Tool Id="SAVE" Type="APPLICATION">
<ActualParameters>
<ActualParameter>rfq</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>VHB_QUOT</Performer>
<StartMode><Automatic/></StartMode>
<FinishMode><Automatic/></FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="VHB_QUOT"/>
<ExtendedAttribute Name="XOffset" Value="0"/>
<ExtendedAttribute Name="YOffset" Value="0"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SAVE" Name="SAVE">
<Implementation>
<Tool Id="SAVE" Type="APPLICATION">
<ActualParameters>
<ActualParameter>rfq</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>VHB_MNGMNT</Performer>
<StartMode><Automatic/></StartMode>
<FinishMode><Automatic/></FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="VHB_MNGMNT"/>
<ExtendedAttribute Name="XOffset" Value="0"/>
<ExtendedAttribute Name="YOffset" Value="0"/>
</ExtendedAttributes>
</Activity>
</Activities> </Activities>
<Transitions> <Transitions>
<Transition From="rfq" Id="NO-CONDN" To="APPROVAL-1"> <Transition From="rfq" Id="NO-CONDN" To="APPROVAL-1">
...@@ -320,11 +422,27 @@ ...@@ -320,11 +422,27 @@
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/> <ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes> </ExtendedAttributes>
</Transition> </Transition>
<Transition From="APPROVAL-1" Id="APPROVED" To="SAVE">
<Condition Type="0">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APPROVAL-2" Id="APPROVED" To="SAVE">
<Condition Type="0">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions> </Transitions>
<ExtendedAttributes> <ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="INITIATOR;rfq;0;0;NOROUTING"/> <ExtendedAttribute Name="StartOfWorkflow" Value="INITIATOR;rfq;0;0;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INITIATOR;CANCEL;0;0;NOROUTING"/> <ExtendedAttribute Name="EndOfWorkflow" Value="INITIATOR;CANCEL;0;0;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INITIATOR;CANCEL;0;0;NOROUTING"/> <ExtendedAttribute Name="EndOfWorkflow" Value="INITIATOR;CANCEL;0;0;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INITIATOR;SAVE;0;0;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INITIATOR;SAVE;0;0;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="INITIATOR;VHB_QUOT;VHB_MNGMNT;"/> <ExtendedAttribute Name="ParticipantVisualOrder" Value="INITIATOR;VHB_QUOT;VHB_MNGMNT;"/>
</ExtendedAttributes> </ExtendedAttributes>
</WorkflowProcess> </WorkflowProcess>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment