About this query
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This query returns a list of when your Porkfolio's balance rises above an amount you specify. Note: this query will only return future events after this Applet is created.
- API endpoint slug
- porkfolio.history_of_balance_rises_above
- Runtime method
- performQuery("porkfolio.history_of_balance_rises_above")
Query fields
Porkfolio ID Dropdown list
- Label
- Which device?
- Slug
- porkfolio-id
- Required
- true
- Can have default value
- false
Balance Text input > Regular expression
- Label
- Target balance
- Slug
- balance
- Required
- true
- Can have default value
- true
Ingredients
Porkfolio nameThe name of the device.
- Slug
- PorkfolioName
- Filter code
- Porkfolio.historyOfBalanceRisesAbove.PorkfolioName
- Type
- String
- Example
- Home Porkfolio
Occurred atThe time the balance reached the threshold.
- Slug
- OccurredAt
- Filter code
- Porkfolio.historyOfBalanceRisesAbove.OccurredAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Amount addedThe amount of money just added.
- Slug
- AmountAdded
- Filter code
- Porkfolio.historyOfBalanceRisesAbove.AmountAdded
- Type
- String
- Example
- $20
BalanceThe total balance in the Porkfolio.
- Slug
- Balance
- Filter code
- Porkfolio.historyOfBalanceRisesAbove.Balance
- Type
- String
- Example
- $100