Skip to content

Commit

Permalink
Merge pull request #37 from hotwax/#36
Browse files Browse the repository at this point in the history
Improved: Added status transition to mark a atp rule active from archived (#36).
  • Loading branch information
dixitdeepak authored Dec 3, 2024
2 parents ae27204 + 9e1e1f1 commit 44a02a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/AtpSeedData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<moqui.basic.StatusFlowTransition statusFlowId="Default" statusId="ATP_RULE_DRAFT" toStatusId="ATP_RULE_ACTIVE" transitionName="Active"/>
<moqui.basic.StatusFlowTransition statusFlowId="Default" statusId="ATP_RULE_DRAFT" toStatusId="ATP_RULE_ARCHIVED" transitionName="Draft to Archived"/>
<moqui.basic.StatusFlowTransition statusFlowId="Default" statusId="ATP_RULE_ACTIVE" toStatusId="ATP_RULE_ARCHIVED" transitionName="Active to Archived"/>
<moqui.basic.StatusFlowTransition statusFlowId="Default" statusId="ATP_RULE_ARCHIVED" toStatusId="ATP_RULE_ACTIVE" transitionName="Archived to Active"/>


<artifactGroups artifactGroupId="ATP_API" description="Commerce ATP API (via root resource)">
Expand Down
5 changes: 5 additions & 0 deletions upgrade/upcoming/UpgradeData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<entity-facade-xml type="ext-upgrade-upcoming">
<moqui.basic.StatusFlowTransition statusFlowId="Default" statusId="ATP_RULE_ARCHIVED" toStatusId="ATP_RULE_ACTIVE" transitionName="Archived to Active"/>
</entity-facade-xml>

0 comments on commit 44a02a5

Please sign in to comment.