Hi I got that problem resolved, thanks for your help!
Now i would like to know how to use this IsInPageList -function. There is two of them "IsInPageList" and "IsInPageList(...)". Can you help me how to use them? Both have 3 common parameter-fields(lookFor(String), lookAt(String), lookAt(String) and "IsInPageList(...)" has also field Pega(PegaApi). What I should insert in these fields? Every field is mandatory to fill. For example, i want to choose every row from db where productCode is in list (22,33,44,55) and so on. How to do it, where I define the column where to choose(pega(PegaApi), lookFor(String), lookAt(String), LookIn(ClipboardProperty)? and what to fill in these mandatory fields?
Posted: 7 years ago
Posted: 22 Jun 2015 7:54 EDT
Eric Osman (ericosman_GCS)
Senior Software Solutions Engineer
One issue is whether you should be using the function IsInPageList at all. If your need is to search the db for particular rows, then use activity method step obj-browse. If your need is to determine whether a particular value of a particular property already exists in a page list that may have previously been populated from db rows, then you can use IsInPageList.
The second issue is what the parameters to IsInPageList are for. They became more clear to me by looking at the java tab of the function rule. The lookIn is which page list to look in, and the lookAt is which property within each page on the list should be looked at, and the lookFor is what value of that property constitutes a match.
The remaining property, "pega", seems to only be passed from one variant of those functions to the "getStringValue" function and I looked on "? - > apis > engine" javadoc at class ClipboardProperty at the variants of GetStringValue and it says that the "pega" parameter is used for checking for chaining. I supposed this is related to the style of chaining where you want chaining to occur when a property value is "used" rather than when it is "calculated".
Posted: 7 years ago
Posted: 23 Jun 2015 2:55 EDT
Lassi Hämäläinen (LassiH72)
thanks for reply. Ok my situation is this. I have chosen group of rows in a segment of certain agreements from our database. In strategy I should divide this picked group of agreements for smaller groups for a targetted offers depending on productCode and some other things. What would be the right way to do this and what shapes to use in strategy?
Also if you can recommed some pega course for this?