Skip to main content
Solved

Annotation issue: creator of manual annotations are not listed


Hi,

The user is listed as UNKNOWN when the annotation is done manually from “Data explorer”. This is problematic as we need to be able to track who made the changes.

Here is an annotation I added manually:

And this is what I see from the API. I am able to identify the creating_app which is data explorer, but I need to know the user as well or at least some way to track which credentials made the change. UNKNOWN is not good enough.

I’ve also notices that for our automated annotations this field does not work as expected. These are all made by the same user/credentials, but for some reason the are all different and it looks like the “creating_user” field is mapped to the “job_id” you get when sending a request to the API rather than the user that made the request. I don’t know about others, but we at least need to be able to track which users/credentials created the annotations, which batch job uploaded the annotation is not relevant to us at all.
job.7445037198441218
job.5162020989972303
job.5162020989972303

 

Regards,
Markus Pettersen
Aker BP - CDF Data Delivery

Best answer by Markus Pettersen

Cognite has deployed a fix for this and now when annotations are added manually through the Fusion UI the specific user is now listed as the creating_user.
 

 

View original
Did this topic help you find an answer to your question?

5 replies

Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img

@Markus Pettersen Thank you for reporting this. I’ll create a support ticket for this bug. The Support team will escalate this to the engineering team.


  • Practitioner
  • 42 replies
  • January 9, 2025

Hi ​@Markus Pettersen ,

Thanks for bringing this up!
Regarding the request to populate the creating_app field with the correct user information for manually created annotations in Data Explorer, we’ve forwarded this to the relevant team for handling.
As for how the field is populated in the automated pipeline, this is something you can control when creating annotations from the diagram parsing output. You can adjust it in your pipeline setup 🙂. However, I’m not sure if you want the creating_app field to reflect the information of the person who triggers the pipeline, as the annotations are actually created from the suggestions of the diagram parsing service, not by that individual.

Best regards,
Que


Hi ​@Que Tran,

Regarding the automated pipeline, you are correct. The great thing about taking over someone else’s code is that you can discover new things every day. After some further review of the code I found the part that sets it, so the creating user for the automated pipeline I can change myself.

That still leaves the manual ones, so thanks for forwarding it to the relevant team.

Regards,
Markus


Cognite has deployed a fix for this and now when annotations are added manually through the Fusion UI the specific user is now listed as the creating_user.
 

 


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img

Thank you for the update ​@Markus Pettersen 


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings