Mark Appt Complete in Activity Archive doesn't fire AfterSave Trigger

Hi again,

If (in SOWeb) an activity is marked complete by:

ticking the checkbox in the activity archive

doing the same iin the workflow

by right-clicking in the diary and marking complete

Then the AppointmentAfterSave Trigger is not fired, it only seems to get fired if saved within the Appt Dialog

 

Is this a known problem?

Is there any workaround?

 

Cheers James

 

RE: Mark Appt Complete in Activity Archive doesn't fire AfterSave Trigger

Hi James,

This is a known limitation, and is routed in the way the web client performs this action. CRM Triggers depend on CRM Web Datahandlers. Instead of going though a datahandler to perform the toggle, the click event travels through an archive control click event handler to call an ajax method on the web server, which then uses the AppointmentAgent on the web server to toggle the activity. Thus circumventing the Service Trigger.

The only way to receive that notification is to 1) be onsite  and 2) create a NetServer Service event handler and listen to the AppointmentAgent Before|AfterToggleActivity event.

Best regards.

Av: Tony Yates 20. sep 2019

RE: Mark Appt Complete in Activity Archive doesn't fire AfterSave Trigger

Hi Tony,

are there any plans afoot to change this behaviour so that the save does not circumvent the event trigger?

Could we ask for this a change request wish?

Cheers James

Av: James Carter 20. sep 2019