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
38 replies
Subscribers
5 subscribers
Views
11684 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi all, we are already defining a expression rule by using a doforeach ex
natasav
over 9 years ago
Hi all,
we are already defining a expression rule by using a doforeach expresion. Now we need to redefine it because tis plug is deprecated.
By simple changing it with apply () it does not work.
Could somebody help me with redefinition on it.
Here is the rule:
=if(count(rule!Display_Harm_Details_CDT(pv!ContractDetails.Contract_Serial_Number)),"<br> <i> <b> Contract Harmonization History: <br><br></b> </i> "&ncolumntablestyled( "CCCCCC","FFFFFF", "FFFFFF", {"Version","Harmonization Members","Folder"},rule!ListofVersion_CR(pv!ContractDetails.Contract_Serial_Number),doforeach("AllHarmonizationMembesforVersion",pv!ContractDetails.Contract_Serial_Number,rule!ListofVersion_CR(pv!ContractDetails.Contract_Serial_Number)),doforeach("rule!LinktofolderfromfolderID",pv!ContractDetails.Contract_Serial_Number,rule!ListofVersion_CR(pv!ContractDetails.Contract_Serial_Number))),"")
The problem is when rule!ListofVersion_CR(pv!ContractDetails.Contract_Serial_Number) ret...
OriginalPostID-161216
OriginalPostID-161216
Discussion posts and replies are publicly visible
Parents
0
natasav
over 9 years ago
Basicaly HarmonizationDetails is variable defined as CDT and all data are saved in SQL datables with structure defined by it.I will sent you the structure. The rule shortly define a table in which it displayed those data. The apian key is ContractSN. In most of the cases there is only one row in displaye table. And when I redefine the previously mention rule by using apply it won't works only when there are multiple version (rows) . When only one row is display it works OK.
Maybe this will give you some idea of what is the problem. It seems that doforeach is not working the same as apply and I don't see any other apian expression to redefining it.
Thanks in advance,Natasa
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
natasav
over 9 years ago
Basicaly HarmonizationDetails is variable defined as CDT and all data are saved in SQL datables with structure defined by it.I will sent you the structure. The rule shortly define a table in which it displayed those data. The apian key is ContractSN. In most of the cases there is only one row in displaye table. And when I redefine the previously mention rule by using apply it won't works only when there are multiple version (rows) . When only one row is display it works OK.
Maybe this will give you some idea of what is the problem. It seems that doforeach is not working the same as apply and I don't see any other apian expression to redefining it.
Thanks in advance,Natasa
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data