Discussion
1
Replies
13792
Views
Posted: May 8, 2015
Last activity: May 11, 2015
Closed
Obj-Open
In the Obj-Open method it is written that "Use the PropertyName and PropertyValue fields to specify the key of the instance." Now what does that mean? I mean which king of properties are we supposed to use? Please if you can explain with some Nice EXAMPLEs.
Thanking you in Advance
Sidharth Goutam
Hello Sidharth,
Thank you fo ryour query. As you are most probably aware the Obj-Open method returns a single instance stored in the PegaRULES database, or in an external database table that is linked to an external class. The properties specified as parameters of the method are defined in the class and each property (or properties) together with the associated value(s) together make up the 'key' of the instance to be opened. You can find more information about this method here https://pdn.pega.com/java-and-activities/introduction-to-activities and here https://pdn.pega.com/sites/pdn.pega.com/files/help_v71/procomhelpmain.htm#methods/obj-open/obj-open.htm.
Regards,
Andrew Fontenelle
PDN Support Team