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
5928 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Error message: Expression evaluation error at function 'tointeger' param
shaoyongw
over 8 years ago
Error message: Expression evaluation error at function 'tointeger' parameter 1: Cannot sub incompatible operands of type List of Variant and type Date with Timezone.
The expression is like: tointeger(data_array - today())
Any ideas how to deal with it?
OriginalPostID-215030
OriginalPostID-215030
Discussion posts and replies are publicly visible
Parents
0
marcoc918
A Score Level 1
over 8 years ago
What kind of result do you expect from this rule when data_array is empty? I will probably do a thing like this if (rule!APN_isEmpty(data_array),{},tointeger(data_array-today()))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
marcoc918
A Score Level 1
over 8 years ago
What kind of result do you expect from this rule when data_array is empty? I will probably do a thing like this if (rule!APN_isEmpty(data_array),{},tointeger(data_array-today()))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data