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
8 subscribers
Views
1307 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
Sathya Srinivasan
Appian Employee
over 10 years ago
Hi,
I am still not clear about what you're trying to achieve here. But let me give you some pointers.
The sequence of execution on the data->output is not guaranteed. Which means any of the above said script task can execute in any order.
Secondly, if you're saving them into 4 separate pv!, then make sure all those pv! are multiple.
Next, make sure, by mistake, you are not saving the output of the above into one of the same. Which means you end up over-writing the expression.
Finally, is your load() using any of the pv! where the above expressions are saving data into? Check this.
Hope this helps to get you in the right track.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sathya Srinivasan
Appian Employee
over 10 years ago
Hi,
I am still not clear about what you're trying to achieve here. But let me give you some pointers.
The sequence of execution on the data->output is not guaranteed. Which means any of the above said script task can execute in any order.
Secondly, if you're saving them into 4 separate pv!, then make sure all those pv! are multiple.
Next, make sure, by mistake, you are not saving the output of the above into one of the same. Which means you end up over-writing the expression.
Finally, is your load() using any of the pv! where the above expressions are saving data into? Check this.
Hope this helps to get you in the right track.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data