Attempting to Create a notification email when a service request's parameters have been modified.
First attempt was to fire OnLink, however that sent an email for every parameter as they are all dropped and recreated on save.
Second attempt is to fire OnUpdate of the service request with the following Conditional Expression
$(IsTrueForAllChildren("ServiceReq#", RecId, "ServiceReqParam#", "$(DateDiffSQL('second', CreatedDateTime, ToString(CurrentDateTime())) < 60)"))
This doesn't fire if i only change 1 or more parameters and click save.
However if i change some other field of the service request, e.g. Description or Fulfillment Comments, then the event fires as expected.
If i save changes to the parameters, then (within the 60 seconds obviously) make a change to the request and save the event also fires as expected.
I also tried OnFieldChange Last Mod date time, this also doesn't fire when only changing parameters and saving.
My Last idea is to have the Request Parameters module change a field on the parent request after save, however i suspect this will fire for each parameter and result in multiple emails, similar to attempt 1.