Update

The Update action allows the user to edit an existing object accessible at that point in the logic chain of the Routine; this includes any global variables, local variables that have already been defined/found at that point, or other context variables.

The Add action allows the user to assign the object a new parent object and assign new field mappings, or values for all the fields of the object. If no changes are made to the parent or a particular field, the values will remain the same as they were previously.

The user may also save the edited object as a variable with a new name, though this is typically unnecessary. In the below example, the Routine will update the object referred to by the Routine as "b"; it will not change the object's parent, but it will assign new values to four of the object's fields. Of course, these values can be set using either a variable, such as for the first three mappings, or with an EL expression, as is the case in the fourth.