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
1554 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
#ProcessModel, Hi All, I have one sub task, which has a loop. For tha
rohandhondilalk
over 9 years ago
#ProcessModel,
Hi All, I have one sub task, which has a loop. For that I have tried to go with MNI but alter found that there is a problem with my loop. I need to replace the entire loop with Expression Rule which has apply( ) . Can any one help me on how can I call each script task of the loop in an expression? Please find attached sub task image. The loop has been marked in yellow color. Quick help will be appreciated.
OriginalPostID-206141
OriginalPostID-206141
Discussion posts and replies are publicly visible
0
PhilB
A Score Level 1
over 9 years ago
You probably want something like:
apply(
type!MyCDT(
id: _,
name: _
),
merge(
pv!arrayOfId,
pv!arrayOfName
)
)
...but it's hard to say without seeing exactly what each script node is doing.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rohandhondilalk
over 9 years ago
Thanks philb
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vishnuv
A Score Level 1
over 9 years ago
You should have a look at
forum.appian.com/.../Looping_Functions.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel