In the check, error handling can take place as well. Under this circumstance ,if maximum invocations is not a number the script will enter and run these tasks:

Steps to complete: