def __call__():
    """Executes a workflow transition or cancels if there are errors.
        It expects the transition to be passed in as request parameter
        ``transition``.

        Redirects to the referrer and adds status messages.
        """
