RTIR 3.0.4 Documentation
RT::Action::RTIR SetBlockStatus
NAME
RT::Action::RTIR_SetBlockStatus - sets status of the block acording to a few rules
DESCRIPTION
If transaction is inbound and status is pending then change it to corresponding not pending status. This rule can be protected with $RTIR_BlockAproveActionRegexp
option. Content of the transaction should match the regexp if it's defined. Statuses are hardcoded and can not be changed or this will not work properly.
If block is in an inactive status (by default 'removed') then status changed to first possible active status for blocks' lifecycle (by default 'active').
In all other cases status left unchanged.
Commit
Applies rules described above in "DESCRIPTION" section.
← Back to index