Add a Conditional Transition
In this section, we continue our process definition by adding SaveRecord and DeleteRecord activities, controlled by a conditional transition that looks for a Master Catalog name, and based on that, it either deletes or saves the record.
When we added the UpdateEvent activity (to the basic flow created by the MDM template) after dropped the activity on the Start Event, an uncontrolled transition was automatically created between the Start Event and the UpdateEvent activity.
For example, let’s create a conditional transition. We will either save or delete the record depending on the Master Catalog name in the InDocument. By default, the record is saved, and only if the Master Catalog name is ASSET, the record will be deleted.
We will do the following in this section: