A
A
Akorolev2020-02-05 16:55:58
1C-Bitrix
Akorolev, 2020-02-05 16:55:58

What event is appropriate to execute after changing the value of an element's property?

Greetings.
I can not understand the following implementation:
There is an element, it has a property STATUS multiple type "List" there are several values.

Prompt what event approaches that it would be fulfilled only at change of the given property.
Tried through:

AddEventHandler("iblock", "OnAfterIBlockElementUpdate", Array("status_problem", "updateHundler"));


It handles itself a little differently, in fact, the value of the property is constantly filled, it never happens to be empty, and this event is constantly fired.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
KraydenSharp, 2020-02-05
@KraydenSharp

If you have a problem with recursion when changing the value of a property, then it is better to use
https://dev.1c-bitrix.ru/api_help/iblock/events/on...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question