OriginalPostID-237906
Discussion posts and replies are publicly visible
Hi John. Is there a way to obtain these metadata and others, such as the version of an object in our application, from an expression rule?
You can do this:
getcontentdetailsbyuuid( getconstantorruleuuidbyname("your object name") )
Thank you very much, but I apologize because I did not say that, due to technical limitations, I cannot use Content Tools. Any other option?
Ok, so I now have questions:
1-I need to list the object names and their versions.2-I need this information for processes, rules, decisions, web API and any object that contains the version as metadata of itself.
3-Limitations set by the client
Thanks. The answers you've provided are all "what" but no provide indication of "why"...it's the "why" that will enable people here in this forum to provide you with possibly more options and potentially better ones that might be met in just answering your specific query.
In my project to track and audit components, a module is being developed that must have the list of objects and their versions so as not to have to enter object by object and see what version it is in. Due to technical limitations you cannot use the content tool, it is very unfortunate, but it is what it is. So, I have investigated and perhaps by consulting the Appian primary database I can get some answer but I don't see in which table the information I am looking for can be found.
Still not understanding the "why" here.
Your idea (to query the Appian Primary DB) initially sounds like a good one but I'm pretty sure the Appian Object data is held in one or more files and not DB tables...
Stewart Burchell I can't speak to why he can't use content tools.
But on my end, I can see some potential uses cases for getting the object revision history and in my experience, the function in the Content Tools plugin isn't a reliable option. I've mentioned it before but no one has ever responded to me.
Please see my comment here: community.appian.com/.../content-tools
Conceivably (although it's a roll-your-own solution and has a relatively high start-up level of effort) you could use RPA to automate what I think you've been doing manually so far. Your design would:
As I suggest this should work in theory, but you'll need RPA enabled in your environment and a server to host your bot on. Which all sounds way harder than just installing Content Tools and getting some basic info that way.