Deferring Data Validation when Running Effects

Product 19/05/2014 by Jan Petter Bergfjord

A common case in Forms is that you want to run a Task to create or modify an object which is incomplete considering requirements imposed by data validations defined for the Object Class. Incomplete or invalid data should later be filled out by the user before the object is saved. In other cases you may want to fill out data incrementally by using multiple effects.

 

The effects Create Objects and Modify Objects have in previous versions validated data and terminated with an exception if validations have been violated. Before the block construct Scope was introduced, these effects committed changes, and they required that the objects were in a consistent state before changes were committed. Since the commitment point has been moved to the Scope level we have introduced a new Scope setting, Validate Data Constraints, which allows you to defer data validation.

 

Read the full article to learn more.

Download full article