ProcessDtoAbstract result codes

Constants you pass to $dto->setStopProcess($code, $reason) to tell the platform what to do with the message.

use Hanaboso\PipesPhpSdk\Utils\Process\ProcessDtoAbstract;

Values you set explicitly #

ConstantValueMeaning
ProcessDtoAbstract::SUCCESS0Continue to the next node (you don't normally set this; just return).
ProcessDtoAbstract::STOP_AND_FAILED1006Mark the message as failed. After retries are exhausted it lands in Trash.
ProcessDtoAbstract::DO_NOT_CONTINUE1003End this branch successfully without flowing further. Useful for filters.
ProcessDtoAbstract::FORWARD_TO_TARGET_QUEUE1002Route to a named successor instead of the default one.
ProcessDtoAbstract::REPEAT1001Re-deliver this exact message to the same node. Use sparingly.

Reserved (set by the platform / batch infra) #

ConstantValueMeaning
LIMIT_EXCEEDED1004Limiter held the message back.
BATCH_CURSOR_WITH_FOLLOWERS1010A batch node asked for the next page; emit downstream now.
BATCH_CURSOR_ONLY1011A batch node asked for the next page; hold downstream until done.

Failure reporting #

ConstantValueMeaning
UNKNOWN_ERROR2001Generic failure (e.g. uncaught exception).
INVALID_HEADERS2002Required headers were missing on inbound message.
INVALID_CONTENT2003Message body was not parsable.

See also #

© 2025 Orchesty Solutions. All rights reserved.