In an App Engine PeopleCode, it’s not uncommon to see code that works on the following logic.
You have a condition and if it’s TRUE, you want Exit(1) to execute.
If the condition is FALSE, you would like Exit(0) to execute.
Depending on the way in which you have designed the App Engine, this can completely change its flow.
Can you explain what is the difference between Exit(1) and Exit(0)?
Related Questions