Skip to main content
Solved

Can we trigger a CTA when a field passes a specific threshold value?

  • January 17, 2023
  • 2 replies
  • 52 views

simonechen

For instance we’re looking to trigger a CTA when a usage field value crosses over the 80% threshold.

Currently in our Rule, it’ll fire if the usage is over 80% (it doesn’t distinguish between something that just crossed 80% for the first time or was already over 80%) which isn’t the expected behaviour and we’re getting a lot of noise.

Best answer by john_apple

Hello @simonechen - in order to have this trigger only when it changes to a certain value, you would need to have a time series of data for previous and current value. You could leverage the scorecard which has built in snapshot capability or you could create a custom object that you use a rule to write to on a daily or even real-time basis depending on the data

2 replies

john_apple
Forum|alt.badge.img+5
  • Expert ⭐️
  • Answer
  • January 17, 2023

Hello @simonechen - in order to have this trigger only when it changes to a certain value, you would need to have a time series of data for previous and current value. You could leverage the scorecard which has built in snapshot capability or you could create a custom object that you use a rule to write to on a daily or even real-time basis depending on the data


simonechen
  • Author
  • Contributor ⭐️⭐️⭐️
  • January 24, 2023

Thanks @john_apple - that’s what I suspected. I’ll give this approach a look!