---
title: "SFDC Flow: Add a Record Update element"  
description: "In my previous post-SFDC Flow: Add a Record Create Element, we learn how to add a Record create element in SFDC flow. Here, we move to next step, and"  
author: "Anonymous User"  
published: 2015-03-23  
updated: 2018-02-22  
canonical: https://www.mindstick.com/blog/10850/sfdc-flow-add-a-record-update-element  
category: "sales force"  
tags: ["cloud computing", "cloud", "cloud development", "sfdc", "dev-401"]  
reading_time: 2 minutes  

---

# SFDC Flow: Add a Record Update element

In my [previous](https://yourviews.mindstick.com/view/81421/unlock-2-0-is-just-like-previous-corona-lockdowns) post-[SFDC Flow: Add a Record Create Element](https://www.mindstick.com/blog/10849/SFDC%20Flow%20Add%20a%20Record%20Create%20Element#.VQ_LCVy6bIU), we learn how to add a Record create element in SFDC flow. Here, we move to next step, and see how to add a record Update element in SFDC flow

##### Add a Record Update Element

##

Now let’s add a Record Update element to update the [relevant](https://www.mindstick.com/blog/12026/5-things-you-must-know-as-a-blogger-to-stay-relevant-in-2018) Merchandise record, reducing the quantity available by the quantity [ordered](https://www.mindstick.com/forum/156534/difference-between-ordered-and-unordered-list-in-html) in the line item.

1. From the Palette tab, drag the Record Update onto the canvas.

2. For the Name, enter Decrement Available Stock.

The Unique Name is automatically populated based on this entry

3. For the Update field, enter Merchandise__c.

4. Set the filter criteria so that the flow [updates](https://yourviews.mindstick.com/view/88503/us-iran-war-live-updates-trump-says-us-in-no-rush-to-end-iran-war) only the Merchandise record associated with the line item.

Field Value

Field Id

[Operator](https://www.mindstick.com/blog/144/union-intersection-and-except-operator-in-sql-server) equals

Value {!Merchandise}

5. In the Field column for updating record fields, enter Quantity__c.

6. In the Value column, click the arrow and select CREATE NEW > Formula.

7. [Configure](https://answers.mindstick.com/qa/51511/how-to-configure-client-and-repository-in-informatica-power-center) the formula to subtract the quantity ordered in the line item from the quantity of Merchandise.

Field Value

Unique Name fDecrementAvailableStock

Value Data Type Number

Scale 0

Formula text box {!vQuantityAvailable} - {!Quantity_Ordered}

![SFDC Flow: Add a Record Update element](https://www.mindstick.com/blogs/ae0d94b1-4931-40e0-8315-465e1e4688ae/images/7989d0e9-03c1-48b7-8cf9-5a8ba9e4a9fa.png)

\

8. Click OK.

The Formula overlay closes, and the Record Update overlay appears.

![SFDC Flow: Add a Record Update element](https://www.mindstick.com/blogs/ae0d94b1-4931-40e0-8315-465e1e4688ae/images/1b156c39-80e3-4de3-aada-631d89f405e2.png)

9. Click OK.

\

10. Drag the node from the bottom of the Record Create element onto the Record Update element to [connect](https://www.mindstick.com/articles/12810/how-to-connect-tablet-to-external-monitor-or-flat-screen-tv-using-computer-adapters) them.

\

11. Click Save.

Next we need to add the confirmation screen in SFDC flow ,which we see in my next post.

\

**This [document](https://www.mindstick.com/articles/328642/what-to-consider-while-choosing-a-software-documentation-tool) is referred from [salesforce help tutorials](http://www.salesforce.com/us/developer/docs/workbook/index.htm)

---

Original Source: https://www.mindstick.com/blog/10850/sfdc-flow-add-a-record-update-element

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
