Update title block generates duplicate entries in history and event handler monitor. How to resolve tht?
Hi
When trying update title block event in post using groovy script px, duplicate entries are shown in history and in event handler monitor.
How can we avoid that?
Thanks
Sabarish
Are you updating additional Title Block attributes via your script? I believe i had the same issue previously. Update Title Block post event is triggered once when title block is updated in web client, and then again if your script is setting additional attributes,
Doing so in a post will trigger your script twice. First time is from the Create, SaveAs, or UpdateTitleBlock (from webclient). Second time is on the setValue() which will trigger a secondary UpdateTitleBlock event (from SDK). Hence the two History entries. Don’t think there is a way around this. We just ignore the multiple entries.