M
matman
Guest
Thank you all for replying. I tried the several suggested things, I will also explain my scenario a bit more: In a record of Employer, I press the Quick Create button at field "Has Employees", to create an Employee. When the Employee is created, a delayed trigger get puts in the queue (Checked it many times, it does every time). And the created Employee gets added to the field "Has Employees". Before saving, I delete the Employee from the "Has Employees" field. Because of this, the Employee is not related to any Employer. The delayed trigger is supposed to delete that Employee after about one hour. But it doesn't. But like I said, if I set the trigger to immediately, that Employee will actually get deleted. The Debugger only shows a log of an 'After Update' trigger, set on the Employer object: Running ON_BEFORE_UPDATE on Mat-Online (ID=108913968) Finished ON_BEFORE_UPDATE on Mat-Online (ID=108913968) Running ON_AFTER_UPDATE on Mat-Online (ID=108913968) Checking trigger: checkHeeftKlant (ID=108478233) Klant Mat-Online (ID=108913968): No need to run: value of "Medewerkers" was not changed: oldValue=108913967 newValue=108913967 No need to run this trigger on this record Finished ON_AFTER_UPDATE on Mat-Online (ID=108913968) The event log shows nothing extra, nothing to be reported. Also, adding some return true / false in the formula debugger, tells me that my code is working correctly as well. Code: if({!R108244227#id} 0) { rbv_api.deleteRecord("medewerker", {!id}); }
Continue reading...
Continue reading...