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
3 replies
Subscribers
7 subscribers
Views
1283 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi All, I have a expression that inturn calls a query rule which accepts a
sikhivahans
over 10 years ago
Hi All,
I have a expression that inturn calls a query rule which accepts a attributeType as input and outputs the results. I need to fetch data for 4 types of attributes and each needs to saved in an seperate variable. The expression definition is encapsulated in load(). So when i want to do this from a script task, i need to take 4 ACPs and provide expression to each of them, and a different attributeType for each of them them and collect them into PVs. But i observed that the results retrieved from the expression of first ACP is stored into all the PVs. Till this point of time i thought that usage of load()/ with() apart from tempo doesn't have any significance in terms of execution. Is this the desired behavior? If so could anyone please justify this behavior?
TIA, ...
OriginalPostID-93512
OriginalPostID-93512
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 10 years ago
Hi satya.srinivasan,
I have a expression rule!fetchValuesFromType() which inturn calls a query rule rule!getValuesFromType() which returns various values based on type.
On a scripttask, i have four acps which are configured in the following order:
rule!fetchValuesFromType("Vegetables")
rule!fetchValuesFromType("Fruits")
rule!fetchValuesFromType("Chocolates")
rule!fetchValuesFromType("Cookies")
and I am collecting them in outputs into four seperate PVs. But everytime i am seeing the result rule!fetchValuesFromType("Vegetables") into all the PVs or the value of acp which is configured at top level.
NB: Definition of rule!fetchValuesFromType() is encapsulated in load()
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 10 years ago
Hi satya.srinivasan,
I have a expression rule!fetchValuesFromType() which inturn calls a query rule rule!getValuesFromType() which returns various values based on type.
On a scripttask, i have four acps which are configured in the following order:
rule!fetchValuesFromType("Vegetables")
rule!fetchValuesFromType("Fruits")
rule!fetchValuesFromType("Chocolates")
rule!fetchValuesFromType("Cookies")
and I am collecting them in outputs into four seperate PVs. But everytime i am seeing the result rule!fetchValuesFromType("Vegetables") into all the PVs or the value of acp which is configured at top level.
NB: Definition of rule!fetchValuesFromType() is encapsulated in load()
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data