def internal_preview
      @preview_context = ::RiddlerAdmin::PreviewContext.find_by_id params["pctx_id"]
      if @preview_context.nil?
        render(status: 400, json: {message: "Invalid pctx_id"}) and return
      end

      @use_case = ::Riddler::UseCases::AdminPreviewStep.new @step.definition_hash,
        preview_context_data: @preview_context.data

      @preview_hash = @use_case.process
    end
def internal_preview
      @preview_context = ::RiddlerAdmin::PreviewContext.find_by_id params["pctx_id"]
      if @preview_context.nil?
        render(status: 400, json: {message: "Invalid pctx_id"}) and return
      end

      @use_case = ::Riddler::UseCases::AdminPreviewStep.new @step.definition_hash,
        preview_context_data: @preview_context.data

      @preview_hash = @use_case.process
    end
Should always comes from the admin tool