Forum Discussion

team_aras_meupe_com's avatar
3 years ago
Solved

Server Event. Code execution

Hello, I wrote the question in the following post...
  • alaxala's avatar
    alaxala
    3 years ago

    Oh, I forgot that serverEvents doesn't affect on lock events. So the only way to avoid this re-call is to use the fake property.

    Add something like this to the beginning of your method

    [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:656fdc25-52dc-4f9d-88a0-444c4d356b3f:type=csharp&text=if%20%28this.getProperty%28%22skipOnBeforeLock%22%29%20%3D%3D%20%221%22%29%20return%20this%3B]

    and <skipOnBeforeLock>1</skipOnBeforeLock> to codigoAML