Auto-update owner has no effect?

Michael Oosten1
Tera Expert

Hi,

I'm experimenting with the new "auto-update owner" flag in Entities.

  • Created an Entity Type, see 1st screenshot (auto-update owner activated)
  • The Entity is created with the correct owner from the source record when Scheduled Job: GRC Profile Generation has run
  • However, the flag auto-update owner is false, see 2nd screenshot. I was expecting this flag to be true.
  • And indeed, changing the owner on the original record does not change the owner of the entity.
  • Activated "auto-update owner" on the entity manually, and still nothing is happening. I can't find a scheduled job that would do the actual update.

So, how does the Auto-update owner functionality work?

Regards,
Michael

 

find_real_file.png

find_real_file.png

5 REPLIES 5

Nicklas Jepsen
Giga Guru

Hi Michael,

 

I had the same experience, however I did manage to figure out why!

The scheduled job is called "Synch entity owner with source record" and it runs daily if activated.

The event it creates calls a script action, and this script action runs on a frequency. OOB its weekly, meaning that it only updates the owner field on the entity 7 days after it has been updated. If you set the property "sn_grc.frequency_of_synching_entity_owner_with_source_record" to Daily, then it will update the owner field as you might expect it too.

The script action is called "Profile Batch Run".

 

Best regards,

Nicklas

Aha! Thanks. The scheduled job was not activated in my instance. Why would it not be activated OoB?

Also, on the actual Entity that has been generated, the "Auto-update owner" flag is still false. I am assuming this needs to be true for everything to work? Why wasn't this flag set to true automatically when the Entity was generated by my filter?

find_real_file.png

Thanks, Michael

Hemant Kediyal
ServiceNow Employee
ServiceNow Employee

Hi Michael,

Changes done on the entity filter is reflected only on the new entities which are created using that filter, not on the pre-existing entities.

So, it might be possible that 'A test application' entity was already present before 'Auto-update owner' was set to true in filter related to it, preventing that config from being copied to the entity.

I tested this and in my case 'Auto-update owner' value is being copied to new entities created using the filter.

 

Regards,

Hemant

Hi Hemant,

Yes, I understand. However, I created a new biz app: "a 2nd test application" which created a new Entity. But still the "auto-update owner" flag is still false. Will it be set by the Profile Batch Run script when executed?

Thanks,
Michael