Changes to automation object templates do not get inherited to all child instances (seems random) , way to debug analyse cause?

Hi,

I added a attribute and a script to a Autom.Object template, only part of the instances inherit the update, with no obvious reason for the other not updating. these are simple instances with no obvious difference.  Besides if anyone has an  immediate answer for why this is happening, my question is, is there a way to analyse what is happening when a template is checked in? Is there any information in SMC log that can be looked at.  What should i be searching for?

regards

Jakob

Parents
  • Hi   and  

    I came across the same issue when I built a test galaxy with System Platform 2023R2. I made a small change in script in the template derived from $UserDefined one, in which Me.X = Me.Y * A; became Me.X = Me.Y * B; where Me.X was a calculated variable, Me.Y was from PLC and A or B was a coefficient. The instances that missed the update were in the deployed mode. A newly created instance appeared to have the change.

    When I checked in the change, the check-in window showed a warning about propagating the changes, and no error was logged in OCL. There is no lock in my template.

    The question is if the change made in the template can be propagated to its instances in the deployed mode. I am not aware if there is any method to allow users to synch up the instances with their template if some of them miss the changes.

  • Hi Jakob,

    In order to propagate the changes from a template to an existing instances (deployed or undeployed), you must use the template script locks before check-in the changes.

Reply Children