Patent ID: 7287229

Claim:
A template-driven process system comprising: a template that contains information about an interactive web program that utilizes a plurality of web pages to create a document, the information defining for each web page in the plurality of web pages characteristics about fields for receiving data from an end user, the information also defining for the document a plurality of document states, each document state in the plurality of document states identifying at least one end user allowed to access the document and at least one action that can be performed on the document, wherein different document states identify different end users and different actions and wherein the document can only exist in one document state at a time; a template translator; and, wherein the template translator translates the template into the interactive web application; and wherein when the template translator has translated the template into the interactive web application, the interactive web application presents web pages to the end user, the web pages including the fields for receiving data specified by the template, wherein a current document state determines which actions are permitted to be performed on the document and which end users can take the permitted actions.