My Entry URL Format needs are too long for the field restrictions
You could refactor it using ternary syntax and see if it fits. Otherwise you could also do it with a plugin and listen to beforeSaveEntry events.