How to get Assign event when User does Assign to "Me" through assign button.I am using UCI interface but while user assigning to himself by assign button, save event does not trigger.
executionContext.getEventArgs().getSaveMode() == 47
Can anyone help me to resolve this ?
When a record is reassigned, the ownerid
attribute value changes. You can therefore register an onChange
event against this attribute either programmatically:
formContext.getAttribute("ownerid").addOnChange(() => alert("My code has triggered"));
Or using the form editor and attaching your function to the onChange
event of ownerid
.