Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Got a two states from which objects promote (in Promotion Request) to third one.
Need a code to get list of initial states (Promoted from State) of these objects.
I already search in PromotionNoticeHelper and VersionControlHelper and got nothing.
Found a very nice solution posted by jcrowe-2: