Skip to content

Commit

Permalink
Microflow transformation is still buggy. Put behind feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
xiwenc committed Feb 5, 2025
1 parent b126b29 commit 302c1bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mpr/mpr.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ func getMxDocuments(units []MxUnit, folders []MxFolder, mode string) ([]MxDocume
Path: getMxDocumentPath(unit.ContainerID, folders),
Attributes: unit.Contents,
}
if unit.Contents["$Type"] == "Microflows$Microflow" {

if mode == "advanced" && unit.Contents["$Type"] == "Microflows$Microflow" {
myDocument = transformMicroflow(myDocument)
}
documents = append(documents, myDocument)
Expand Down

0 comments on commit 302c1bb

Please sign in to comment.