AutoNotification Variable that works like <null>

Discussion in 'AutoApps' started by yannick.rc, Jul 1, 2018.

  1. yannick.rc

    yannick.rc New Member

    Joined:
    Apr 7, 2018
    Messages:
    23
    Likes Received:
    0
    Hey guys,

    is there a variable that can be used in an AutoNotification action as an equivalent of having nothing in there.

    The reason I ask, is that it would enable setting variables at the beginning of a task and then running a single AutoNotification with all the variables in it, only creating buttons, actions, etc... that don't have a null value. It would prevent the need of many IFs and alternative autonotification actions depending on button count, etc...

    Something along the lines of this:

    Code (Text):
    1. AutoNotification Query
    2. Set custom actions/icons
    3. For v in variable:
           If variable != Set:
                  v = <null> (the null in the xml)
    4. Use those variables in a single AutoNotification action to create all buttons/icons/actions in one go, while null values would get skipped.

    i.e.
    Button1 >> button1action
    Button2 >> button2action
    Button3 >> customAction
    Button4 >> <null>)
    Is there a way of doing this?

    Thank you!

    Yannick
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Unfortunately there's no way right now, sorry!
     
  3. yannick.rc

    yannick.rc New Member

    Joined:
    Apr 7, 2018
    Messages:
    23
    Likes Received:
    0
    Hey Joao,

    OK. Thanks for the info!

    Have a great day,

    Yannick
     

Share This Page