So, @Mark_Wonsil was kind enough to give me this little trick.
So, I did this and started going through the json. I just noticed that there are chunks of data that are no longer valid. Is this going to be an issue in the long term? My concern is the file is going to continue to grow to a point where it impacts performance. But I truthfully have no idea.
As an example, instead of re-creating a bunch of events, I copied one and then went and made changes. Looking at the json, the “copied” version is still in there in addition to the one I changed it to. It is only 70 lines, but I have done a lot of copying.
Copied
{
"actions": [
{
"type": "condition",
"param": {
"expression": "\"{TransView.T5}\" === \"\"",
"onSuccess": [
{
"type": "event-next",
"value": "_UpdatePartDesc"
}
],
"onFailure": [
{
"type": "condition",
"param": {
"expression": "\"{T5Row.UD01_Key3}\" === \"Entry\"",
"onSuccess": [
{
"type": "row-update",
"param": [
{
"columns": [
{
"epBinding": "TransView.PartDesc",
"value": "{TransView.PartDesc} {TransView.T5}{T5Row.UD01_Key5}"
}
]
}
],
"onSuccess": [
{
"type": "event-next",
"value": "_GeneratePartDesc6"
}
]
}
],
"onFailure": [
{
"type": "row-update",
"param": [
{
"columns": [
{
"epBinding": "TransView.PartDesc",
"value": "{TransView.PartDesc} {T5Row.UD01_Key5}"
}
]
}
],
"onSuccess": [
{
"type": "event-next",
"value": "_GeneratePartDesc6"
}
]
}
]
}
}
]
}
}
],
"id": "Copy_Of__GeneratePartDesc4",
"description": "",
"mode": "D",
"customizable": true,
"disable": false
},
Changed
{
"actions": [
{
"type": "condition",
"param": {
"expression": "\"{TransView.T5}\" === \"\"",
"onSuccess": [
{
"type": "event-next",
"value": "_Hardware_SA",
"onSuccess": [
{
"type": "event-next",
"value": "_UpdatePartDesc"
}
]
}
],
"onFailure": [
{
"type": "condition",
"param": {
"expression": "\"{T5Row.XX_Key3}\" === \"Entry\"",
"onSuccess": [
{
"type": "row-update",
"param": [
{
"columns": [
{
"epBinding": "TransView.PartDesc",
"value": "{TransView.PartDesc} {TransView.T5}{T5Row.XX_Key5}"
}
]
}
],
"onSuccess": [
{
"type": "event-next",
"value": "_GeneratePartDesc6"
}
]
}
],
"onFailure": [
{
"type": "row-update",
"param": [
{
"columns": [
{
"epBinding": "TransView.PartDesc",
"value": "{TransView.PartDesc} {T5Row.XX_Key5}"
}
]
}
],
"onSuccess": [
{
"type": "event-next",
"value": "_GeneratePartDesc6"
}
]
}
]
}
}
]
}
}
],
"id": "_GeneratePartDesc5",
"description": "",
"mode": "U",
"customizable": true,
"disable": false
},