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
8 replies
Subscribers
7 subscribers
Views
2570 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
i have an apply function that whose rule gets 3 parameters. The apply looks like
aswinb
over 11 years ago
i have an apply function that whose rule gets 3 parameters. The apply looks like this:
a!applyComponents(function:rule!DCMIFS_CustomTextField,
array:merge(local!technicalOfficers,ri!hours, ri!hours))
local!technicalOfficers gets 3 values of type text from a query rule.
ri!hours is of type integer and multiple.
the problem is whatever I type into the text boxes that gets created dynamically based on the count of local!technnicalOfficers gets disappeared if I hit the mouse outside of the textbox.Feels like there is some problem with the value and saveInto fields of this apply function. Can anybody suggest any solution to this? For your convenience I am attaching the whole code below:...
performanceMetricsTotal.yml
OriginalPostID-104984
OriginalPostID-104984
Discussion posts and replies are publicly visible
Parents
0
jesse.triplett
Appian Employee
over 11 years ago
Did you try your first line, without the indexing and the merging (as I mentioned in the other thread). Something like the following. This is just to try and get the typed in values to save at all.
a!applyComponents(function:rule!DCMIFS_CustomTextField(label:_, value:ri!hours, saveInto:ri!hours),
array: local!technicalOfficers)
If this works, then the next step is to save into the correct part of the ri!hours array, you should handle that logic inside of the rule!DCMIFS_CustomTextField() rule.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
jesse.triplett
Appian Employee
over 11 years ago
Did you try your first line, without the indexing and the merging (as I mentioned in the other thread). Something like the following. This is just to try and get the typed in values to save at all.
a!applyComponents(function:rule!DCMIFS_CustomTextField(label:_, value:ri!hours, saveInto:ri!hours),
array: local!technicalOfficers)
If this works, then the next step is to save into the correct part of the ri!hours array, you should handle that logic inside of the rule!DCMIFS_CustomTextField() rule.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data