Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
5 subscribers
Views
1115 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am trying to get latest version number of a process model by creating a plug-i
nageswararaoa
over 8 years ago
I am trying to get latest version number of a process model by creating a plug-in.
I am using getVersion() method in ProcessModel.Descriptor class.
But it is returning null value which is assigned initially.
So I have used getLatestPublishedVersion() method in ProcessModelProperties class which is returning correct value.
What wrong with the usage of getVersion method in ProcessModel.Descriptor class.
Please find the attached code.
getObjVersion.txt
OriginalPostID-218988
OriginalPostID-218988
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 8 years ago
Using ProcessModelProperties is the right way to do it. Descriptor is an inner class, you don't need anything from it that you cannot get from the real fully populated object ProcessModelProperties
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nageswararaoa
over 8 years ago
Thank you Eduardo:):)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel