Hey mate,
This will result in an error if the string is too long to convert.
I see that someone else has been looking for a solution to a similar problem here: https://forum.mendix.com/link/space/app-development/questions/5059
There are some good solutions in the comments, including a workaround to make several smaller integers and combine them or to use a java action as a solution. Perhaps you could start off by testing the length of the string and then use custom logic to handle it where need be.
I'm curious as to how you deal with this, keep up updated!