Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
  
[+] Expand All
[-] Collapse All

Choosing the Return Code

When an attribute filter script is finished executing, it returns a result code to the Steel-Belted Radius Carrier core. The code indicates whether or not the script executed successfully. The script may also return a string containing the name of a static attribute filter for Steel-Belted Radius Carrier to execute after the script is finished.

Valid return codes are:

  • SCRIPT_RET_SUCCESS—The attribute filter script executed successfully. Steel-Belted Radius Carrier should continue processing the current request.
  • SCRIPT_RET_FAILURE—The attribute filter script failed to execute successfully. Steel-Belted Radius Carrier should terminate request processing and reject the user.
  • <FilterName>—Steel-Belted Radius Carrier should execute the static filter given by FilterName after the script has finished executing and then continue processing the current request.

    Note: Do not return the name of a scripted attribute filter from your script; a runtime error occurs.

Modified: 2018-01-11