#Time based trigger variable in blueprint

23 messages · Page 1 of 1 (latest)

worldly minnow
#

I have a bunch of blueprints that are triggering quite fast - works great for my needs - but people have asked if there is a way to parameterize this.

Looks like with the new release I can have the user specify a trigger if they want using this style:

  input:
    usertrigger:
      selector:
        trigger:
    

triggers:
  - trigger: event
    event_type: manual_event
  - triggers: !input usertrigger

but is there a way i can pass in an input of (run every x minutes)

And then just use that variable directly in a trigger?

Like this:

  - trigger: time_pattern
    minutes: /!input time_patern

I don't believ this is doable but is there a way?

outer fiber
#

Put it in a condition...

#

You can give them roll your own conditions.

#

I put them in almost all my blueprints and I get very few questions and niche requests since that move.

worldly minnow
#

Right but the blueprint still gets triggered frequently rgiht?

#

it just doesn't "process" unitl the condition is met

#

I'm looking for configurable trigger rate

#

i can supress I think based on a condition right?

outer fiber
#

Triggered but does nothing, uses not much more resources that it would othersise just hitting the condition.

worldly minnow
#

Can i rendder a trigger variable? and use thaty?

outer fiber
#

If you do a trigger_variable and put the !input nto a variable I think you can do what you ask as well

#

jinx

#

But that time pattern has a specific format users won't get, and has no effect on the other trigger. The event trigger will just trigger when it wants, and the time trigger will also trigger, so you are adding there.

worldly minnow
#

This is what i'm seeing int esting

#

its not happy 🙂

#

oh well

#

i'll say i tried and call it a day ... i guess i can just allow them to set a custom trigger

outer fiber
#

That '/' can't be there, it has to be in the input and the input has to be text

worldly minnow
#

yea

#

I tried various variations on this

#

but its rendering as text so it wont fly