Pages:
Actions
  • #1 by John Simpson on 28 Sep 2021
  • Hi,

    I am trying to use a constant, that I want to be blank until I set it to a different value. This is easy, I just added a constant and left the initial value blank. I then set up a trigger using "set user variable", in the name I put the constant name and in the value, I put the value I required.

    Now I have the problem of returning the constant value to blank, until I want to set another value.

    Does anyone know if there is a way to set a trigger to return the constant to its initial value, or if there is a way to set the user variable to blank?

    Thanks for any help.
  • #2 by Tim (WellDoneSoft) on 28 Sep 2021
  • Each "Set user variable" trigger action changes its value.
    You can set it to something else than "the value" instead of blank to avoid misunderstanding.
  • #3 by John Simpson on 29 Sep 2021
  • Hi Tim,

    Thanks for your reply.

    However, for what I want to do, it really needs to be blank. I can set the initial value to blank, but after setting to a different value, I cannot find a way to reset it to the initial value, or just to set it to blank again.

    Is it possible?
  • #4 by Tim (WellDoneSoft) on 29 Sep 2021
  • You can use "" as value for Set User Variable trigger action.
  • #5 by John Simpson on 29 Sep 2021
  • Hi Tim

    Unfortunately that does not work, it just puts "" as the user variable.

    However, I have managed to find a work around.

    Thanks for your help.
Pages:
Actions