Hi,
I'm catching Intents messages from the torque app and want to take conditional actions depending on the values of the messages coming in.
For Triggers I have an Intent Received to catch the message, but I cannot seem to assign the value to a previously created global variable of type decimal. I can only assign the value to a variable I create in the Intent Received section. I can call it a global variable however it will be saved as a string and not a decimal. Nor can I see a way to change it.
So, the question is, how do I run an If-Else Action if I'm looking for a value > 13 for example.
Could I potentially save the message value to a local variable, then under the Actions, set a global variable (decimal) with the value of the local variable (string). Will Macrodroid do the conversion needed?
I could then do a less than/greater than condition.
I'm catching Intents messages from the torque app and want to take conditional actions depending on the values of the messages coming in.
For Triggers I have an Intent Received to catch the message, but I cannot seem to assign the value to a previously created global variable of type decimal. I can only assign the value to a variable I create in the Intent Received section. I can call it a global variable however it will be saved as a string and not a decimal. Nor can I see a way to change it.
So, the question is, how do I run an If-Else Action if I'm looking for a value > 13 for example.
Could I potentially save the message value to a local variable, then under the Actions, set a global variable (decimal) with the value of the local variable (string). Will Macrodroid do the conversion needed?
I could then do a less than/greater than condition.
Last edited: