The booking script defined in a job manager element gets launched both on job creation and job deletion. What's the best way to find if the job that triggered the script was created or deleted?
Hi Robin,
From the description, it seems you are using the connector range 3.0.0.x. I'm not very familiar with this connector range, but from what I've checked, it appears that within this range, we cannot clearly identify whether the script was triggered by a delete or create action. In the current version, the easiest way to check appears to be by verifying if the primary key of the job still exists in the Jobs table (you can use the RowExists methods - docs).
Additionally, it's worth mentioning that this connector range relies on the Job Manager app, which will reach its End of Life with DataMiner version 10.5.x (Q4 2024) - docs.
Hope this helps.
Kind regards,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer (using the ✓ icon) to indicate that the question is resolved?