What Why does Axon.ivy persist an ICase when `setAdditionalProperty` is invoked even if there is no TaskSwitch element.element?
There written in the [public document][1]:
> Normally, a case is started non persistent. This means it is stored in memory only. As soon as the process hits a task switch the case and its tasks will be made persistent by storing them to the system database.
I just found out that you can make an ICase persisted without any TaskSwitch element in the process by setting an `additionalProperty`.
As soon as the line of code is evaluated:
ivy.case.setAdditionalProperty("anything-will-do", "some-value");
The `ICase` will be persisted *immediately*.
Is this a non-public behaviour or a bug in the API?
P.S: there is a demo project to demonstrate this behaviour at https://www.mediafire.com/?hxi3z0v27dhjxh4
[1]: http://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.concepts.html#ivy-wf-states