Return Values for Actions

I’ve searched exhaustively and can’t find a reference for what the return values should be for a job executed by an action.

I know that error code 4 is essentially for “OK”. (So “return 4, nil” is the return statement for a job that goes through to completion with no issues). I’ve seen the generic “return false” used before…However, when I put that in there it threw the code into an endless loop!

This is the reference to call_action, but it doesn’t say what the values should be for the error number. (Apparently 4=“all’s well…”)

Look on this page: http://wiki.micasaverde.com/index.php/Luup_Plugins_ByHand

Search for: job_Done

These apply only to actions. actions cannot return a success/failure flag.

Beautiful…thanks!