Disabled Format Rule or Workflow

I suppose that every Format Rule and Workflow makes the App bigger and bigger. I mean the JSON file, that’s behind the App.
So when I disable a Format Rule or Workflow - will it be saved anyway in the JSON App file, or just in the App Editor?
I mean - would it lighten up the App to not just disable Format Rules and Workflows, but delete them?

Solved Solved
0 8 668
1 ACCEPTED SOLUTION

Hi Fabian,

The entire app is contained in the AppTemplate. The AppTemplate contains everything about the app other than the workflow templates that are stored externally. The AppTemplate includes disabled Format Rules or Workflow Rules.

The Editor simple displays and updates the AppTemplate. When you launch the Editor, it loads the AppTemplate. When you save the app in the Editor, it save the AppTemplate. The Editor has no “state” of its own. All “state” is in the AppTemplate.

The client also downloads the AppTemplate when you run the app on a device.

The size of a Format Rule or Workflow Rule in the AppTemplate is relatively small. I would be surprised if deleting them would have much effect.

We must check whether a Workflow Rule is disabled but this is relatively cheap.

View solution in original post

8 REPLIES 8
Top Labels in this Space