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
1 reply
Subscribers
7 subscribers
Views
1006 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I’m trying to show/repopulate multiple-chosen check box fields on a form that is
michaelb40
over 10 years ago
I’m trying to show/repopulate multiple-chosen check box fields on a form that is returned to the original user that filled it out. Right now the checkboxField saves into a stand-alone multiple variable called ac!environmentCategory. The node output is” tostring(ac!environmentCategory)”, converting the checkbox input to a string and stored to a CDT target of “CDT.environmentCategory” (a non-multiple text field).
I’ve tried converting the CDT string back into a multiple variable using the “split” function “split(pv!CDT.environmentCategory,",")” in a subsequent node (and output prior to returning the form), and stored to a target of the original stand-alone multiple variable of “ac!environmentCategory”.
In order to determine whether this is an initial request rather than a request being returned, my SAIL code evaluates whether or not the “pv!CDT.environmentCategory” is blank (i.e. if it’s been previously filled out), if it’s blank then i...
OriginalPostID-119393
OriginalPostID-119393
Discussion posts and replies are publicly visible
Parents
0
michaelb40
over 10 years ago
...t calls for an “ac!environmentCategory”, and if it’s not blank it calls for the “pv!CDT.environmentCategory”:
value: if(rule!COMMON_isBlank(
pv!CDT.environmentCategory),
ac!environmentCategory,
pv! CDT.environmentCategory),
saveInto: ac!environmentCategory
However, on the form itself the checkboxFields are blank when returned to the original user.
Any ideas on how to make this happen?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
michaelb40
over 10 years ago
...t calls for an “ac!environmentCategory”, and if it’s not blank it calls for the “pv!CDT.environmentCategory”:
value: if(rule!COMMON_isBlank(
pv!CDT.environmentCategory),
ac!environmentCategory,
pv! CDT.environmentCategory),
saveInto: ac!environmentCategory
However, on the form itself the checkboxFields are blank when returned to the original user.
Any ideas on how to make this happen?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data