I'm using flex forms on LiveCycle Workspace 9.5.
When user clicks Save button on bottom-left corner of form draft is created.
But I need to create draft in code (I'm making some server calls and in case of error one of options is to create a draft and try later).
I've tried to call SwfConnector.setSaveData, but it is not enough (draft is not created).
Is it possible to do it in code?