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
8 subscribers
Views
2286 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 10 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 10 years ago
What are you having a problem with now? Did you try to imitate the file I attached and are still having an issue? The file I attached works for me... and it should for you. I should have also mentioned the parameter types: I did index(int), label(text), temp(any type)
Anyways, I recommend against what you've attachedin DCMIFS_CustomTextField. It's inefficient to to query for the whole technical officers list every time just to get one piece of it. Especially since the query is executed twice in that if(). Did you see in the file I attached how I merge and pass in technical officers?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
jesse.triplett
Appian Employee
over 10 years ago
What are you having a problem with now? Did you try to imitate the file I attached and are still having an issue? The file I attached works for me... and it should for you. I should have also mentioned the parameter types: I did index(int), label(text), temp(any type)
Anyways, I recommend against what you've attachedin DCMIFS_CustomTextField. It's inefficient to to query for the whole technical officers list every time just to get one piece of it. Especially since the query is executed twice in that if(). Did you see in the file I attached how I merge and pass in technical officers?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data