How to get project name instead of UUID?

heyo. wondering if there is a way to get the name of a project instead of it's UUID (session.props.id). we have a master project and i need to configure the logger on the alarm pipelines to reflect the project name so we can filter the logs by project_alarmPipeline. eg: DarkElfFarms_BloodLevelAlarm.

Have you tried system.util.getProjectName() ?

2 Likes

didn't even know that was a thing. but i do now. :100: thank you.

I suggest putting the following links in your favs and throwing an eyeball at them once in a while

https://docs.inductiveautomation.com/display/DOC81/System+Functions

https://docs.inductiveautomation.com/display/DOC81/Expression+Functions

6 Likes

:100: * :100: ultimately, this is exactly what i was looking for. many thanks to you both.

2 Likes