I want to fetch the current active version for a project that is deployed in Orchestrator and add to the logs. The requirement is whenever a project runs I want to be able to see (in logs) which project package version was used to run the job. If anyone knows any activity or code to achieve this please share. Thanks in advance.
There might be other ways, but as a workaround you can simply get it from your project.json file. read json and take value of “projectVersion”.
You can also use orchestrator API as below:
GET https://< your orchestrator url >/odata/Processes?searchTerm=< processname >