Hello,
I am attempting to setup an automation in the asset module that updates the current location of a unit based off the IP address reported by the asset agent.
The IP address field is parsed as a string initially, and I am performing an operation to extract the third octet. In my environment, every 10 digits in the third octet is a different location, so if I can determine the third octet is within the range of a site, I can assign the current location of the device.
How can I convert a string type to a number type, for the purposes of performing logical operations within the workflow orchestrator?
With the current logic I have built out, I am extracting the third octet of the IP address which gives me a 1-3 digit string, I need to be able to perform less-than operations on that string to determine the location to update the asset. How can I do that? Currently, the program rejects that as the result of that expression builder block is a string.
Thank you