1. A method for automatic generation of a Statechart for management of an interaction, the method comprising: extracting a data model and a set of goals from a frame that describes the interaction, the data model comprising a set of data fields to be completed during the interaction; generating a Statechart from the data model and the set of goals; extracting procedural logic from the frame; adding the procedural logic to the Statechart; and outputting the Statechart.