The validity of a use case definition will be automatically tested during agent start-up. If it is invalid the agent will not start and it will log what the problem is. If it is valid the use case definition will be published to ConfigPortal. It might be necessary to refresh your ConfigPortal UI to see it.