R
R
Rem362020-01-08 14:29:18
1C
Rem36, 2020-01-08 14:29:18

How to implement a handler?

I make a configuration of applications for 1C. I read that there is an event subscription tool, I want to try to make a call to the form with a notification about a new request to the recipient. Who will tell you how to call the form exactly from the one to whom the application is addressed? Do I need to use session parameters?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan Prilepsky, 2020-01-09
@Prilepsky

I would consider 2 options:
1. "Reminders" from the BSP.
2. Look towards the interaction system

K
Konstantin, 2020-01-09
@fosihas

And so get involved in such a 1C object as a Business Process. As launched, a certain code is being executed. Including you will have the ability to track / status of Tasks.

M
Mikhail E, 2020-01-09
@Mikhail_E

"Subscriptions to events" - this is about server subscriptions to server events (Recording / holding, etc.)
"make a form call with a notification of a new application to the recipient" a client call from the server side in 1C is not implemented. (Exception: messenger of the Interaction System)
There are the following options for implementing what you want:
1. When creating an application, assign a certain parameter of the recipient in the application itself, the recipient must have a certain form open on which the "Waiting handler" is connected, which after a while the request pulls new requests with the parameter of this recipient, and then a certain visual notification occurs on the client. (If the form is not open, no notification will occur).
2. Interaction system - Some kind of built-in messenger that works like Skype and can display a regular message notification, but you can't customize it much. (I can be wrong about the interaction system, I worked with it a little).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question