Publishing
Once the request is authorized, Request Modeler automatically stores the request data either on database or sends the request data to a Web Service, this process is referred as publishing. The PUBLISH_MODE attribute in the CT_REQ_MDLR_DEFINITION will be automatically set either to PUBLISH_TO_DATABASE, PUBLISH_VIA_HAL or PUBLISH_VIA_WS based on the Service Type field selected in request configuration. The Request Modeler uses this information to decide whether to publish the data within the request into the database or send it to the web service for publishing it.
Once the request is authorized, the CanvasPublisherFactory class validates the request and processes it for publishing by utilizing the CanvasReqModelDBPublisher class, CanvasReqModelHALPublisher class or CanvasReqModelWSPublisher class based on the publish mode assigned to the request.
If suppose, you want to perform certain additional processing before publishing, you can create a custom publisher class that you must specify in the Additional Rule Params field while configuring the request. Request Modeler will then publish the data as per the custom publisher class.
Refer Custom Publisher and Custom WS Publisher for more information on making use of custom publisher classes. For detailed information on the methods in the CanvasPublishContext class, refer Methods in Canvas Publish Context.