Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Workspace: How to find exact event handler in sys_ux_event table

pallavigaik
Kilo Guru

Hi All,

 

pallavigaik_1-1784092501616.png

 

I have configured a custom workspace in which I have added a list component. For that list component an event Cell link selected is added. Under that Cell link selected event one handler is added i.e., Open page or URL.

 

Since multiple developers are working on that workspace not sure exactly who has added that handler. now the main issue is that the handler don't have any condition for when to trigger. Due to this the handler is always getting executed even when it should not.

I tried to add a when to trigger condition, I tried to change its fields, even I tried to delete that handler. But nothing is happening. Literally that handler is behaving like OOB handler which we cannot edit. 

 

Please help me to delete that handler. OR let me know if I can find that handler anywhere in backend table so that I can delete it from backend.

 

 

 

1 REPLY 1

Vikram Reddy
Tera Guru

Hi @pallavigaik,

 

Skip sys_ux_event, that table just stores the event catalog entry itself, i.e. the definition of "Cell link selected." It does not store the handler you configured against it on your page, so you will not find "who added it" there. The actual handler config lives on the page or variant record.

  • Open the page in UI Builder and note its name, then go to sys_ux_screen (variant/state record) or sys_ux_macroponent (page definition record) and find the matching row.
  • Open the record and search the JSON config field for the string organisation-update, that will point you straight to the offending relay/handler entry.
  • Check for duplicate relay entries against the same "Cell link selected" event. I have seen this exact symptom, a handler that looks stuck and ignores edits or deletes from the canvas, traced back to an orphaned duplicate relay left in sys_ux_screen from two people configuring the same event. UI Builder shows/deletes one but the other keeps firing.
  • Check sys_updated_by / sys_updated_on on that record to see which developer actually touched it last.

Export or copy the JSON before touching it, this is a direct table edit and not a supported UI Builder operation, so treat it carefully. And after any fix, make sure you actually Publish the page, not just Save, otherwise the workspace keeps serving the old published version and it will look like nothing changed.

 

Thank you,
Vikram Karety
Octigo Solutions INC