kirti
(keerthi Y)
1
Hi Guys,
I have a pagelist (splitist)
In split i have a property like CustomAmount
We need verfiy all pagelist if any pagelist customAmount!=0 ,we need to stop next action
I am try to use IsInPagelist .
Can you please tell me how to use this function .
Nadimuthu_T
(Nadimuthu Thangavel)
2
@keerthiy Above mentioned Scenario use IsInPagelistWhen function.
Example: @IsInPageListWhen(whenruleName, Pagelist)
whenruleName - Its to be created in Pagelist page definition class
@IsInPageList(lookFor, LookAt,Cliboardproperty lookIn)
Example: @IsInPageList(“Value”, .“customAmount”, .CustomAmount )
JoeH9464
(Joe Houghton)
3
@keerthiy
For your requirement I recommend using IsInPageListWhen function.
This will run a when rule on every entry in a pagelist and return true if ANY entry in the pagelist returns true for the given when rule.
The easiest, and recommended way to configure this is using the When rule advanced tab like in the following screenshot:
You can also use this directly as a boolean expression (but I recommend using a when rule instead) like this:
@IsInPageListWhen("CustomAmountNotEqualZero",.SplitList)
Where CustomAmountNotEqualZero is your when rule that runs on an individual page list entry (so its class should be the same as the pagelist pages).
SANGAMITHRA
(Sangamithra Nagarajan)
4
@keerthiy
Use IsInPageListWhen(“when_rulename”,pagelist) function.
when_rulename should be in pagelist definition context.
For Example:
When rule should contain customAmount!=0
IsInPageListWhen(“when_rulename”,.splitist)
The function returns true when the customAmount in list is not equal to 0.