Skip to content

Commit

Permalink
👌 IMPROVE: Enable disbursement in orchestrator 2.1.87
Browse files Browse the repository at this point in the history
  • Loading branch information
jpontdia committed Jun 23, 2024
1 parent 4320b2b commit 961f69c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>176302a0-a94d-44e9-a517-9e6dc9548d0d</groupId>
<artifactId>bcrm-etl-service-asset</artifactId>
<version>2.1.86</version>
<version>2.1.87</version>
<packaging>mule-application</packaging>
<name>bcrm-etl-service</name>
<description>BCRM ETL process for SSOT</description>
Expand Down
36 changes: 34 additions & 2 deletions src/main/mule/scheduler.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@
</when>
</choice>

<!-- Reprocess Contact and Account -->
<!-- Reprocess Contact and Account for balance -->

<choice doc:name="process view account ? " >
<choice doc:name="process view contact ? " >
<when expression='#[ vars.processNextView == true ]'>
<!-- Maximum 3 minutes -->
<set-variable variableName="untilMaxRetries" value="#[12]" />
Expand Down Expand Up @@ -128,6 +128,38 @@
</when>
</choice>

<!-- Reprocess Contact and Account for disbursement -->

<choice doc:name="process view contact ? " >
<when expression='#[ vars.processNextView == true ]'>
<!-- Maximum 3 minutes -->
<set-variable variableName="untilMaxRetries" value="#[12]" />
<set-variable variableName="untilMillisBetweenRetries" value="#[15000]" />
<flow-ref name="set-view-contact" />
<flow-ref name="execute-orchestrator" />
</when>
</choice>

<choice doc:name="process view account ? " >
<when expression='#[ vars.processNextView == true ]'>
<!-- Maximum 3 minutes -->
<set-variable variableName="untilMaxRetries" value="#[12]" />
<set-variable variableName="untilMillisBetweenRetries" value="#[15000]" />
<flow-ref name="set-view-account" />
<flow-ref name="execute-orchestrator" />
</when>
</choice>

<choice doc:name="process view balance ? " >
<when expression='#[ vars.processNextView == true ]'>
<!-- Maximum 90 minutes -->
<set-variable variableName="untilMaxRetries" value="#[90]" />
<set-variable variableName="untilMillisBetweenRetries" value="#[60000]" />
<flow-ref name="set-view-disbursement" />
<flow-ref name="execute-orchestrator" />
</when>
</choice>

</flow>

</mule>

0 comments on commit 961f69c

Please sign in to comment.