Filters for retrieving outcomes
Array of potential outcomes that match filter criteria or null
if none exist
Remove outcomes based on lookup. Can only remove outcomes for current skill version + org.
Filters for targeting outcomes to delete
true, if at least one outcome was removed
Track a specific outcome. This outcome is unique for skill version + organization + name + key + recommendation key.
If an outcome exists already, this will only update the description
, attributionDisplayTemplate
, valueCriteriaMet
, behaviorCriteriaMet
,
properties
, and attributionValue
.
Outcome to track
Generated using TypeDoc
Retrieve outcomes based on lookup. Can only retrieve outcomes for current skill version + org.
const outcomes = await OutcomePowers.get({name: "my-outcome", key: "key-01"});