The Update data activity allows you to perform a mass update on fields in the database.
Context of use
The Update data activity can be used after importing a file in order to insert the data recovered into the Adobe Campaign database. Several options allow you to personalize updating the data.
- Drag and drop an Update data activity into your workflow.
- Select the activity, then open it using the button from the quick actions that appear.
- Specify the Operation type to be carried out:
The Batch size field enables you to define the maximum batch size for the data to upload.
- Insert or update : insert data or update it if it the records already exist in the database.
- Insert only : insert data only. The records that already exist are not updated. If reconciliation criteria are defined, only the non-reconciled records will be added.Check the Generate an outbound transition for rejects box if the data imported contains certain records that already exist in the database to avoid any possible errors.
- Update : update data of the records that already exist in the database only.
- Delete : delete data.
- In the Identification tab, specify how to identify the records in the database:
If the operation type selected requires an update, you must use reconciliation keys.
- Using the targeting dimension : select the Dimension to update then specify the Keys for finding records . For more this, refer to Targeting dimensions and resources .
- If the data entered matches an existing targeting dimension, select the Using one or more links option. Then select the Dimension to update .
- In the Fields to update tab, specify the fields on which the update will be applied and, if necessary, add conditions so that this update is carried out. To do this, use the Taken into account if column. The conditions are applied one after the other in list order. Use the arrows on the right to change the order of the updates. You can use the same destination field multiple times.You can automatically link fields using the button. Automatic linking detects fields with the same name.During an Insert or update type operation, you can individually select the operation to apply for each field. To do this, select the value you would like in the Operation column.Managing updates The lastModified , modifiedBy , created and createdBy fields are automatically updated when an update data activity is run, unless their configuration is explicitly carried out on the field update table. The update is only carried out on the records where at least one difference has been detected. If the values are the same, no update is carried out.
- If needed, manage the activity's Transitions to access the advanced options for the outbound population.If you have selected Insert only and the data imported may contain records that are already present in the database, check the Generate an outbound transition for the rejects box to avoid any possible errors.
- Confirm the configuration of your activity and save your workflow.