If a component fails, its effects are rolled back.
For example, suppose that a
Group
contains three non-optional
Content
anchors that store values in data holders. If the third
Content
anchor fails, the
Group
fails. The Script rolls back the effects of the first two
Content
anchors. The data that the first two
Content
anchors already stored in data holders is removed.
The rollback applies only to the main effects of a transformation, such as a Parser storing values in data holders or a serializer writing to its output. The rollback does not apply to side effects. In the above example, if the
Group
contains a
WriteValue
action that writes a line in a text output file, the line is not deleted.