# Deferred Processing

When a form is saved a complex object structure is created from the original XML posted by Orbeon. The creation of the complex object structure can be executed on demand or can be deferred to be processed later. By default all processing is on demand. The configuration is applied on Form Definition this make it very flexible. Some forms can be processed on demand and others have a deferred strategy.

```
"Set a Deferred Processing Strategy for form named <newCustomer> in application <customer>"
OrbeonApiConfiguration default 
setDeferredProcessingFor: 'newCustomer' in: 'customer'.

"Set an On Demand Processing Strategy for form named <newAccount> in application <customer>"
OrbeonApiConfiguration default 
setOnDemandProcessingFor: 'newAccount' in: 'customer'.
```
