TTL
TTL — see the properties below.
This node is also exposed as an AI Agent tool.
This node has 1 input port and 1 output port.
Common Properties
Every node shares these.
- Name — the node's display name on the canvas.
- Color — the node's colour on the canvas.
- Delay Before (sec) — wait this long before the node runs.
- Delay After (sec) — wait this long after the node runs.
- Continue On Error — carry on instead of failing the flow. Defaults to false.
info
When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.
Inputs
| Property | Field | Description |
|---|---|---|
| Client ID | inClientID | Client ID from Connect node |
| Key | inKey | The key to check TTL for |
Outputs
| Property | Field | Description |
|---|---|---|
| Has Expiry | outHasExpiry | Whether the key has an expiration set |
| TTL | outTTL | Time to live in seconds (-2 if key doesn't exist,-1 if no expiration) |
Options
| Property | Field | Description |
|---|---|---|
| Credentials | optCredentials | Redis credentials (optional if using Connect node) |
Requirements
- A Client ID from this package's Connect node, unless you set credentials directly on this node.
Related nodes
Connect · Disconnect · Get · Set · Delete · Hash Set · Hash Get · Hash Get All · Hash Delete · List Push Left and 14 more
See also
- Redis — every node in this package
- Message object — how properties read values from
msg - Handling failure — Continue On Error, Catch and retries