Update
DynamoDB Plugin – Update Action
Summary (SEO Meta Description):
The DynamoDB Update action in WeHub allows you to update existing items in AWS DynamoDB tables.
Use this action to modify attributes, replace values, or add new fields to existing records.
Overview
The Update Action modifies an existing item in a DynamoDB table.
It supports partial updates, allowing you to change only specific fields without overwriting the whole item.
Typical Use Cases:
- Update patient or user records in DynamoDB
- Modify transaction details while keeping other fields intact
- Add or replace attributes in IoT or event-driven data models
⚙️ Configuration
| Field | Description | Type / Options | 
|---|---|---|
| Label | Custom name for the action | String | 
| Select connection | Choose an existing DynamoDB connection or create a new one | Dropdown | 
| Table name | The DynamoDB table where the update will be applied | Dropdown | 
| Inputs (Manual) | Define key-value pairs to update in the item | Name + Type (NUMBER, STRING, BYTE, DATE, DATETIME, BOOLEAN, OBJECT, ARRAY, ANY) | 
| Truncate Fields | Option to truncate long fields during update | Toggle | 
| Schema | Map workflow data to schema fields (optional) | Schema Selector | 
FAQ
Q: Can I update only one attribute of an item?
A: Yes. The Update action allows partial updates without affecting other fields.
Q: What happens if the item does not exist?
A: The update will fail unless combined with an Upsert Action.
Keywords: DynamoDB Update, WeHub DynamoDB Plugin, Update Item DynamoDB, Workflow Database Update