Pages:
Actions
  • #1 by armarni on 10 Jan 2024
  • Hi Everyone

    The 'previous triggered event' condition is stumping me at the moment.  I want to add a condition to a trigger that makes the trigger only fire if another instance of it is not currently active, ie if I have bets active in another market, then wait till that market is settled before firing the trigger again in another market.

    I thought 'previous triggered events status is settled' would do it, but the trigger doesn't ever fire, as the condition is never met on the 1st bet, as the trigger has never fired before!

    How can 'previous triggered event' work, as it will never be able to be met as an initial bet condition, as it is always looking for a previous triggering of itself, which will never have happened before.

    Any thoughts?

    Thanks
  • #2 by MarkV on 10 Jan 2024
  • Hi armarni
    In the betting trigger use this condition block:

    AND
    trigger <name of betting trigger> number of runs in the market is equal to 0 overall
    or previous triggered event's status is settled
     
  • #3 by armarni on 10 Jan 2024
  • Hi Mark

    Thanks, as always, for your help.  That worked perfectly.
Pages:
Actions