DML Operations in Visual Flow

02 Dec
DML Operations in Visual Flow

This post is a work in progress about how the database operations (DML operations) work in Visual Flow, and how to use them optimally.

Database Functions:

  • Fast Create
  • Fast Delete
  • Fast Lookup
  • Fast Delete
  • Record Create
  • Record Delete
  • Record Lookup
  • Record Update

Deleting Records

What Happens if No Records Match the Filter Criteria?

Delete operations will throw a Fault if no records are found that match the filter criteria.

Record Delete Error

No Records Found Delete Error


Therefore, if you don’t know for sure if records exist that will match the filter criteria, you cannot do a Record Delete by itself.

Record Delete

Record Delete


Instead you must do a Lookup then check to see if records exist before you perform the delete.

Deleting Sequence

Deleting Sequence



Leave a comment

Posted by on December 2, 2015 in Flow Tips & Tricks, Visual Flow


Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: