Skip to main content
Version: 8.1

handlers schema section

Level: beginner

Query handlers are items of the HandlerChain mechanism which enables you to describe business logic as an action request and a chain of handlers. Examples of handler invocation are available in separate articles: Page customization examples.

Generic query handlers include actions to open pages, work with data on pages, etc.

Generic query handlers available in Creatio 8 Atlas are available below.

Generic query handlers

crt.CreateRecordRequest

Creates a record.

crt.UpdateRecordRequest

Updates a record.

crt.OpenPageRequest

Opens a page.

crt.SaveRecordRequest

Saves data.

crt.CancelRecordChangesRequest

Cancels a record update.

crt.RunBusinessProcessRequest

Runs a business process.

crt.ClosePageRequest

Closes a page.

crt.HandleViewModelInitRequest

Initializes a view model instance.

crt.HandleViewModelResumeRequest

Adds a View model to a container using the attach operation.

Creatio calls the handler when you open a module that has the viewModel parameter.

crt.HandleViewModelAttributeChangeRequest

Changes an attribute of a view model instance.

crt.HandleViewModelPauseRequest

Removes the View model of the current module from a container using the detach operation.

Creatio calls the handler after calling the HandleViewModelResumeRequest handler when you switch to another module and the current module has the viewModel parameter. Creatio does not call the handler if you open a Freedom UI page and switch to another module before executing the attach operation.

crt.HandleViewModelDestroyRequest

Destroys a view model instance. At this stage, execute only synchronous code that destroys resources accumulated as part of runtime.