Delete Use Example
In the message center you are able to add an attachment to a message. In this example, we are going to delete an attachment that has been added to a message. Below you can see we have an attachment named documentationtest that has been added to the message. This attachment is an entity object record with an entity type of messagecenterattachments. The red X is a button with a button process that runs the Delete service.
The below process is the button process that runs when the red X is selected. The Delete service runs first and deletes the entity object record and the record from the sql table that is associated with the messagecenterattachments entity type. After the delete service runs, we delete the saved file from the directory it was initially saved too.