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
4 replies
Subscribers
7 subscribers
Views
1912 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi, i'm trying to execute 'apply' function to 'updatearray'
erick258
over 9 years ago
Hi, i'm trying to execute 'apply' function to 'updatearray' function, but it responds me with an error telling me that my input is not an array while my input is an 12 characters long array with all zero values e.g. {0,0,0,0,0,0,0,0,0,0,0,0}. Anything wrong with the things i have done?
A screenshot is attached for a clearer understanding.
OriginalPostID-174391
OriginalPostID-174391
Discussion posts and replies are publicly visible
Parents
0
erick258
over 9 years ago
Hi,
@ammireddys : Yes, your snippet work. Thanks
@tim and ashish : Well, i'm trying to count the total document submitted per month base on the document submit date. So i'm thinking using the month() function to obtain the month of the submit date in integer and use the obtained integer as index for the ri!total, which is an array with length 12, and update the increment the related index array value by one. e.g. say the array of submit month is {Jan, Jan, March} so ri!total would be {2,0,1,0,0,0,0,0,0,0,0,0}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
erick258
over 9 years ago
Hi,
@ammireddys : Yes, your snippet work. Thanks
@tim and ashish : Well, i'm trying to count the total document submitted per month base on the document submit date. So i'm thinking using the month() function to obtain the month of the submit date in integer and use the obtained integer as index for the ri!total, which is an array with length 12, and update the increment the related index array value by one. e.g. say the array of submit month is {Jan, Jan, March} so ri!total would be {2,0,1,0,0,0,0,0,0,0,0,0}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data