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
11 replies
Subscribers
7 subscribers
Views
3615 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
I am version 6.7 of the software. I need to create a rule with input as CDT and
nitas811
over 12 years ago
I am version 6.7 of the software. I need to create a rule with input as CDT and loop through it to create a table to display. I create a variable with type any however when I specify the CDT fields its erroring out. Is there any workaround for this?
[3/15/13 11:34:01 PM] Nita Shah: ERROR:An error occurred while evaluating expression: =#"_a-0000d6ea-33a9-8000-da6f-010000010000_815"(pv!jiraIssuesmaster,pv!pushGroups) (Expression evaluation error in rule 'displayncolumntablesub' (called by rule 'displayncolumntable') at function 'doforeach' parameter 2: Invalid index: Cannot index property 'issueid' of type Text into type Boolean) (Data Inputs)
looks like its failing on doforeach("createJiralink",pv!jiraIssues.issueid)
Is there any workaround for this? ...
OriginalPostID-61122
OriginalPostID-61122
Discussion posts and replies are publicly visible
Parents
0
Owen Parrish
Appian Employee
over 12 years ago
Based on the error message, either the jiraissuesmaster rule input is type "Text" or the actual input into the rule is type Text and not the CDT you are expecting.
Since you are on 6.7, you should use apply() instead of doforeach.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Owen Parrish
Appian Employee
over 12 years ago
Based on the error message, either the jiraissuesmaster rule input is type "Text" or the actual input into the rule is type Text and not the CDT you are expecting.
Since you are on 6.7, you should use apply() instead of doforeach.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data