Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
NourEldin-Ali committed Apr 16, 2024
1 parent 8e65df8 commit 8616fe7
Show file tree
Hide file tree
Showing 32 changed files with 253 additions and 3,714 deletions.
46 changes: 22 additions & 24 deletions DAB/bpmn-model-translations/Mortgage_MCMT-Translation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,7 @@
:comment [t6] = SendOutAppFormSET
:transition
:var j
:var x
:guard (= Archive1[x] a) (= lifecycleSendOutAppForm Enabled)
:guard (not (= a NULL_CustomerID)) (= lifecycleSendOutAppForm Enabled)
:numcases 1
:case
:val Archive1[j]
Expand Down Expand Up @@ -2671,8 +2670,7 @@
:comment [t49] = ExtractInfoSET
:transition
:var j
:var x
:guard (= Archive1[x] a) (not (= h NULL_CustomerID)) (= (BankAccountF2 h) f) (= (BankAccountF3 h) b) (not (= d NULL_MortgageTypeID)) (= (MortgageTypeF1 d) c) (= (MortgageTypeF2 d) o) (= #cid a) (= #bid f) (= #tid d) (= lifecycleExtractInfo Enabled)
:guard (not (= a NULL_CustomerID)) (not (= h NULL_CustomerID)) (= (BankAccountF2 h) f) (= (BankAccountF3 h) b) (not (= d NULL_MortgageTypeID)) (= (MortgageTypeF1 d) c) (= (MortgageTypeF2 d) o) (= #cid a) (= #bid f) (= #tid d) (= lifecycleExtractInfo Enabled)
:numcases 1
:case
:val Archive1[j]
Expand Down Expand Up @@ -2733,7 +2731,7 @@
:val #length
:val lifecycleProvideAccInfo
:val lifecycleSEQBlock8
:val lifecycleMakeOffer
:val Enabled
:val lifecycleCompleteApplication
:val lifecycleMortgage
:val lifecycleSEQblock1
Expand Down Expand Up @@ -2763,7 +2761,7 @@
:val lifecycleSEQBlock5
:val lifecycleEventAppFilled
:val lifecycleSEQBlock4
:val Enabled
:val lifecycleSendRejection
:val lifecycleSEQBlock7
:val lifecycleSEQBlock6

Expand All @@ -2783,7 +2781,7 @@
:val #length
:val lifecycleProvideAccInfo
:val lifecycleSEQBlock8
:val Enabled
:val lifecycleMakeOffer
:val lifecycleCompleteApplication
:val lifecycleMortgage
:val lifecycleSEQblock1
Expand Down Expand Up @@ -2813,15 +2811,15 @@
:val lifecycleSEQBlock5
:val lifecycleEventAppFilled
:val lifecycleSEQBlock4
:val lifecycleSendRejection
:val Enabled
:val lifecycleSEQBlock7
:val lifecycleSEQBlock6


:comment [t52] = XORChoiceblock2--{3rd}
:transition
:var j
:guard (= lifecycleSendRejection Completed)
:guard (= lifecycleMakeOffer Completed)
:numcases 1
:case
:val Archive1[j]
Expand All @@ -2833,7 +2831,7 @@
:val #length
:val lifecycleProvideAccInfo
:val lifecycleSEQBlock8
:val lifecycleMakeOffer
:val Idle
:val lifecycleCompleteApplication
:val lifecycleMortgage
:val lifecycleSEQblock1
Expand Down Expand Up @@ -2863,15 +2861,15 @@
:val lifecycleSEQBlock5
:val lifecycleEventAppFilled
:val lifecycleSEQBlock4
:val Idle
:val lifecycleSendRejection
:val lifecycleSEQBlock7
:val lifecycleSEQBlock6


:comment [t53] = XORChoiceblock2--{4th}
:transition
:var j
:guard (= lifecycleMakeOffer Completed)
:guard (= lifecycleSendRejection Completed)
:numcases 1
:case
:val Archive1[j]
Expand All @@ -2883,7 +2881,7 @@
:val #length
:val lifecycleProvideAccInfo
:val lifecycleSEQBlock8
:val Idle
:val lifecycleMakeOffer
:val lifecycleCompleteApplication
:val lifecycleMortgage
:val lifecycleSEQblock1
Expand Down Expand Up @@ -2913,15 +2911,15 @@
:val lifecycleSEQBlock5
:val lifecycleEventAppFilled
:val lifecycleSEQBlock4
:val lifecycleSendRejection
:val Idle
:val lifecycleSEQBlock7
:val lifecycleSEQBlock6


:comment [t54] = SendRejectionSET
:comment [t54] = MakeOfferSET
:transition
:var j
:guard (= lifecycleSendRejection Enabled)
:guard (= lifecycleMakeOffer Enabled)
:numcases 1
:case
:val Archive1[j]
Expand All @@ -2933,7 +2931,7 @@
:val #length
:val lifecycleProvideAccInfo
:val lifecycleSEQBlock8
:val lifecycleMakeOffer
:val Completed
:val lifecycleCompleteApplication
:val lifecycleMortgage
:val lifecycleSEQblock1
Expand All @@ -2942,7 +2940,7 @@
:val lifecycleEventNotInterested
:val lifecycleXORPossibleCompletion
:val #amount
:val RejectSent
:val OfferMade
:val #maxAmount
:val lifecycleSendOutAppForm
:val lifecycleEmpty
Expand All @@ -2963,14 +2961,14 @@
:val lifecycleSEQBlock5
:val lifecycleEventAppFilled
:val lifecycleSEQBlock4
:val Completed
:val lifecycleSendRejection
:val lifecycleSEQBlock7
:val lifecycleSEQBlock6

:comment [t55] = MakeOfferSET
:comment [t55] = SendRejectionSET
:transition
:var j
:guard (= lifecycleMakeOffer Enabled)
:guard (= lifecycleSendRejection Enabled)
:numcases 1
:case
:val Archive1[j]
Expand All @@ -2982,7 +2980,7 @@
:val #length
:val lifecycleProvideAccInfo
:val lifecycleSEQBlock8
:val Completed
:val lifecycleMakeOffer
:val lifecycleCompleteApplication
:val lifecycleMortgage
:val lifecycleSEQblock1
Expand All @@ -2991,7 +2989,7 @@
:val lifecycleEventNotInterested
:val lifecycleXORPossibleCompletion
:val #amount
:val OfferMade
:val RejectSent
:val #maxAmount
:val lifecycleSendOutAppForm
:val lifecycleEmpty
Expand All @@ -3012,7 +3010,7 @@
:val lifecycleSEQBlock5
:val lifecycleEventAppFilled
:val lifecycleSEQBlock4
:val lifecycleSendRejection
:val Completed
:val lifecycleSEQBlock7
:val lifecycleSEQBlock6

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,8 @@ export class BPMNPropertyPanel extends AbstractUIExtension implements SelectionL
/>
<input type="button" className="favorite styled" value="Export" onClick={() => {
console.log('export to bonita has started');
this.actionDispatcher.dispatch(ServerStatusAction.create('Start Converting DF-BPMN to Bonita proc', { severity: 'INFO', timeout: 5000 }));
// this.actionDispatcher.dispatch(ServerStatusAction.create('Start Converting DF-BPMN to Bonita proc', { severity: 'INFO', timeout: 5000 }));
this.actionDispatcher.dispatch(ServerMessageAction.create('Start Converting DF-BPMN to Bonita proc', { severity: 'INFO', timeout: 5000 }));

this.actionDispatcher.request(
MyCustomAction.create({ elementId: this.selectedElementId, additionalInformation: 'toBonita' })
);
Expand All @@ -421,7 +420,7 @@ export class BPMNPropertyPanel extends AbstractUIExtension implements SelectionL
<input type="button" className="favorite styled" value="Generate Behavior" onClick={async () => {
console.log('generate gherkin has started');

this.actionDispatcher.dispatch(ServerStatusAction.create('Start Converting text to Gherkin', { severity: 'INFO', timeout: 5000 }));
// this.actionDispatcher.dispatch(ServerStatusAction.create('Start Converting text to Gherkin', { severity: 'INFO', timeout: 5000 }));
this.actionDispatcher.dispatch(ServerMessageAction.create('Start Converting text to Gherkin', { severity: 'INFO', timeout: 5000 }));
this.actionDispatcher.request(
MyCustomAction.create({ elementId: this.selectedElementId, additionalInformation: 'gherkin' })
Expand Down Expand Up @@ -511,7 +510,7 @@ export class MyCustomResponseActionHandler implements IActionHandler {
handle(action: MyCustomResponseAction): void | Action {
// implement your custom logic to handle the action
// Optionally issue a response action
this.actionDispatcher.dispatch(ServerStatusAction.create('Converting has done', { severity: 'INFO', timeout: 5000 }));
// this.actionDispatcher.dispatch(ServerStatusAction.create('Converting has done', { severity: 'INFO', timeout: 5000 }));
this.actionDispatcher.dispatch(ServerMessageAction.create('Converting has done', { severity: 'INFO', timeout: 5000 }));
}
}
Expand Down
60 changes: 0 additions & 60 deletions open-bpmn.glsp-client/workspace/da_bpmn.bpmn

This file was deleted.

4 changes: 2 additions & 2 deletions open-bpmn.glsp-client/workspace/delta_bpmn_final.bpmn
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<bpmn2:task expand="true" id="ArchiveDetails" isMultiple="false" name="Archive Details">
<bpmn2:documentation id="documentation_EnHQMg"/>
<bpmn2:dataOutputObjectDataStore id="DataOutputObjectExtension_xAoINg" isMultiple="false" isReadOnly="false" name="archive" state="init" type="Archive">
<bpmn2:attribute id="DataObjectAttributeExtension_jBZmRA" name="Cid" type="CustomerID">
<bpmn2:attribute id="DataObjectAttributeExtension_jBZmRA" name="C" type="CustomerID">
<bpmn2:incoming>DataFlowExtension_0UKofg</bpmn2:incoming>
</bpmn2:attribute>
</bpmn2:dataOutputObjectDataStore>
Expand Down Expand Up @@ -514,7 +514,7 @@
<dc:Bounds height="50.0" width="160.0" x="1348.48779296875" y="-8.18708324432373"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="DataOutputObjectExtension_ScAGIw" id="BPMNShape_nqG02Q">
<dc:Bounds height="50.0" width="130.0" x="1647.9191799128637" y="-8.18708324432373"/>
<dc:Bounds height="50.0" width="130.0" x="1647.919189453125" y="-8.18708324432373"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="DataObjectAttributeExtension_jBZmRA" id="BPMNShape_xyw93A">
<dc:Bounds height="25.0" width="110.0" x="1672.919189453125" y="-65.35396575927734"/>
Expand Down
Empty file.
Loading

0 comments on commit 8616fe7

Please sign in to comment.