Forum Discussion
Adjusting Trigger objects and variable with other triggers
I want to be able to change the name of an object or variable being invoked for a trigger by changing the reference in a second trigger.
- MathNotermans-9Community Member
Do share a sample, makes it easier for us.
Hi, Thaddeus!
It would be helpful to take a look at your file! You can upload it here or share it privately in a support case. We'll delete it from our systems once troubleshooting is complete.
- WaltHamiltonSuper Hero
Do you mean something like "Change value of [variable named in variable chosenObject] to "brown" where chosenObject can contain either cow or horse? Programmers have been wanting to do that since the 1950's. I'm unaware of any language known to man that can do that with one statement.
Try something like "Change value of variable Cow to "brown" if value of chosenObject = "cow", else change value of variable horse to "brown" if value of chosenObject = "horse"? Two statements, but it can work.