Implements the logic for a custom block procedure.
The created Procedure.
The blocks to run when the procedure is called.