Kaa Asset Management (Kaa Next): Asset Actions - Update Variable & Rule Execute | Tutorial

Take your asset-driven dashboards further with Asset Actions in Kaa Next. In this hands-on tutorial, we’ll add built-in actions (Update/Delete), create a simple Update Variable action to copy an asset field into a dashboard variable, and wire a Rule Execute action to run backend logic (an “Increment” rule) directly from the Asset List widget. 💡 This video builds on our previous episode on Kaa Asset Management. If you’re new to assets, watch that first (   • Kaa Asset Management (Kaa Next): Asset Typ...  ). ✅ Prerequisites Basic understanding of Assets, Applications, and Endpoints Access to Kaa Next (Optional) List widget already showing your assets 🔧 What you’ll do Locate Asset Actions in the Asset List widget Add Update & Delete actions Create Update Variable action (“Select Name”) → store `asset.name` in a dashboard variable Prepare asset data: add a counter field to the OFFICE Asset Type + show it in the list Build an Increment rule (JS patch to asset) in the Rule Engine Add Rule Execute action with Payload Customization (Initial Values) Test with Traces and confirm updates ⚠️ Don’t forget Publish Changes before leaving the editor, or your edits won’t be saved. ⏱️ Chapters 00:00 — Intro & prerequisites (Asset Management recap) 00:24 — Where Asset Actions live (Asset List widget) 00:46 — Built-in actions: Update & Delete 01:11 — Custom actions overview (Update Variable) 02:06 — Testing & viewing dashboard variables 03:11 — Custom actions overview (Rule Execute) 03:38 — Prep: add counter field to Asset Type + column 04:25 — Create Increment rule (JS patch to asset) + required params 05:24 — Configure Asset Action payload (Initial Values) 06:56 — Test with Traces in Rule Engine 07:24 — Publish changes & wrap-up 🧱 Resources Kaa Free Trial 👉 https://www.kaaiot.com/free-trial Kaa Getting Started Guide 👉 https://www.kaaiot.com/docs/getting-s... Kaa Endpoint 👉 https://www.kaaiot.com/docs/terms-and... Kaa Application 👉 https://www.kaaiot.com/docs/terms-and... Kaa Rule Engine 👉 https://www.kaaiot.com/docs/rule-engi... 🗂️ (JS) Rule code const { asset_id, counter } = ctx; const response = ctx.toolbox.httpClient.patch(`/am/api/v1/assets/${asset_id}`, { platform: true, body: { operations: [ { op: "replace", path: "/counter", value: counter + 1, }, ], }, }); 🙌 Stay connected If this helped, drop a comment with your questions. Like, subscribe, and share to support more Kaa Next tutorials! 🚀 #KaaIoT #KaaNext #IoT #AssetManagement #Dashboards #DeviceManagement