Skip to main content
May 9, 2022
Question

Where are saved the interface draft data

  • May 9, 2022
  • 5 replies
  • 0 views

Hi,

We have a process and a start form interface with a "Save draft" button and a "Write to DB entity" at the end of the flow.

- Could you tell me where Appian stores its data when the user clicks on this button please ? (in a task, in a dedicated Appian table ?)

(the corresponding DB table is not impacted as the smart service of the next node is not called yet)

- Does this action can be linked to an event, to accomplish some tasks ? or Draft option is a completely internal Appian option ?

Regards

5 replies

May 9, 2022

Is the "Save Draft" a submit button? Can you please share some screenshots from the interface, the process mode, the process instance after you click on the "Save Draft" button as it's not clear what you are asking. 

mikes0011
Brainy
May 9, 2022

"Save Draft" functionality (referring to the out-of-box button and not something custom-built), is a completely internal Appian function, with no ability to affect anything external.  AFAIK it's not a valid option (and not even available) on Start Forms, only on User Input Tasks associated with a running Process Instance.

The Expression Guru
stefanhelzle0001
Brainy
May 9, 2022

Start forms do not support the "Safe Draft" function. Form variables are persisted in the referenced AC variables in User Input Tasks.

"Safe Draft" is a built in non-customizable function and there is no way to configure a trigger or event.

When you explain your use case, I am sure we will be able to help.

danny.verb
May 9, 2022

The 'Save Draft' button persists values that are saved into the rule inputs. Within the process model node for User Input task, the rule inputs of the form map directly the activity class parameter inputs. When you click 'Save Draft', Appian saves the values to those activity class parameters. This means that data is stored in the active process instance.

May 9, 2022

Thank you for all your replies, and sorry, you're right, it is a simple User Input Task.


@stefan, I was just thinking about how it works. No real needs for the moment.