From cc805b184620525115c88c1a52ddfde55c73e15b Mon Sep 17 00:00:00 2001 From: "Gamboa, Gilbert" Date: Fri, 5 Jul 2019 10:30:58 -0400 Subject: mso will support new requeststate values Support new request status - ROLLED_BACK, ROLLED_BACK_TO_ASSIGNED, ROLLED_BACK_TO_CREATED, and ABORTED. Support new request status - ROLLED_BACK, ROLLED_BACK_TO_ASSIGNED, ROLLED_BACK_TO_CREATED, and ABORTED. Added default FAILED request status in case rollback is not needed. Variable rollbackTargetState needs to be returned to WorkflowAction flow Variable rollbackTargetState needs to in to ExecuteBuildingBlock as well. Add new RequestDb migration file to expand infra_active_requests column request_status to 25 bytes to fit new request states. Change-Id: I0da2f8013001a28dcc20f64eb9455e4cfd3dd197 Issue-ID: SO-2093 Signed-off-by: Benjamin, Max (mb388a) --- .../subprocess/BuildingBlock/WorkflowActionBB.bpmn | 204 +++++++++++---------- 1 file changed, 103 insertions(+), 101 deletions(-) (limited to 'bpmn/so-bpmn-building-blocks/src/main') diff --git a/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/WorkflowActionBB.bpmn b/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/WorkflowActionBB.bpmn index 47b9efeb6d..efdee8601e 100644 --- a/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/WorkflowActionBB.bpmn +++ b/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/WorkflowActionBB.bpmn @@ -1,5 +1,5 @@ - + SequenceFlow_15s0okp @@ -24,6 +24,8 @@ + + SequenceFlow_0mew9im SequenceFlow_1hsqed1 @@ -44,7 +46,7 @@ SequenceFlow_0l7kaba - + ${execution.getVariable("completed")==true&&execution.getVariable("isRollback")==false&&execution.getVariable("handlingCode")=="Success"} SequenceFlow_15s0okp @@ -81,7 +83,7 @@ - + ${execution.getVariable("isTopLevelFlow")==true&&execution.getVariable("sentSyncResponse")==false} @@ -90,10 +92,10 @@ - + ${execution.getVariable("handlingCode")=="Rollback"||execution.getVariable("handlingCode")=="RollbackToAssigned"||execution.getVariable("handlingCode")=="RollbackToCreated"} - + ${execution.getVariable("isRollbackNeeded")==true} SequenceFlow_0v588sm @@ -102,7 +104,7 @@ - + ${execution.getVariable("handlingCode")=="Abort"} SequenceFlow_02ksbt0 @@ -126,7 +128,7 @@ - + ${execution.getVariable("isTopLevelFlow")==false} SequenceFlow_11530ei @@ -135,7 +137,7 @@ - + ${execution.getVariable("isTopLevelFlow")==false} SequenceFlow_1m2eezj @@ -143,13 +145,13 @@ SequenceFlow_0kf5sen - + ${execution.getVariable("isTopLevelFlow")==false} SequenceFlow_1ui67mc - + ${execution.getVariable("isRollbackNeeded")==false} SequenceFlow_11dlyzt @@ -157,7 +159,7 @@ SequenceFlow_1ui67mc - + ${execution.getVariable("completed")==true&&execution.getVariable("isRollback")==true&&execution.getVariable("handlingCode")=="Success"} @@ -211,8 +213,8 @@ - - + + @@ -221,8 +223,8 @@ - - + + @@ -237,9 +239,9 @@ - - - + + + @@ -254,9 +256,9 @@ - - - + + + @@ -277,16 +279,16 @@ - - - + + + - - + + @@ -295,16 +297,16 @@ - - + + - - - + + + @@ -319,28 +321,28 @@ - - - - + + + + - - - - + + + + - - - - + + + + @@ -355,16 +357,16 @@ - - - + + + - - + + @@ -376,16 +378,16 @@ - - - + + + - - + + @@ -397,10 +399,10 @@ - - - - + + + + @@ -412,9 +414,9 @@ - - - + + + @@ -426,33 +428,33 @@ - - - - + + + + - - + + - - + + - - - - + + + + @@ -464,25 +466,25 @@ - - - - + + + + - - - + + + - - + + @@ -509,15 +511,15 @@ - - + + - - + + @@ -526,25 +528,25 @@ - - + + - - - + + + - - - - + + + + @@ -556,23 +558,23 @@ - - + + - - + + - - - + + + -- cgit 1.2.3-korg