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
2 replies
Subscribers
7 subscribers
Views
890 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi, I'm just starting to get into Appian, and apart from several limitations
nick
over 13 years ago
Hi, I'm just starting to get into Appian, and apart from several limitations in the model designer, I've encountered some issues while using user defined types (UDTs).
I have a UDT "Role" which includes an array of type "Approver" (another UDT), which includes a Boolean variable called 'Approved'.
In my model I am calling a subprocess for each item in the 'Approvers' array, passing the 'Role' UDT and instanceindex (to keep track of which approver is being passed in). In my subprocess I display the data contained within the 'Role' UDT and the user can either click Approve or Reject. The result of their selection is converted to a boolean.
I wish to store this boolean result in Role.Approvers[index].Approved. I have created a new pv called 'MyApprover' of type Approver to store the value, but when I create a new output to set MyApprover is stored at index [index] of Role.Approvers, the operator list reverts back to 'is stored a...
OriginalPostID-25622
OriginalPostID-25622
Discussion posts and replies are publicly visible
0
nick
over 13 years ago
...s' and will not let me store the UDT at the index of my choice!
If anyone can help with the above or would like further details, please let me know.
Many thanks in advance,
Nick
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nick
over 13 years ago
I've sorted this now. It was Appian being daft and not seeing the variable as an array. I exported the UDT to a new name, and changed my PVs to use the new type and it worked fine.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel