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
10 replies
Subscribers
7 subscribers
Views
2414 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Why is it that my rule: rule!esc_get_EI_data_by_date_range(todatetime(ri!st
mikek579
over 9 years ago
Why is it that my rule:
rule!esc_get_EI_data_by_date_range(todatetime(ri!start),todatetime(ri!end),topaginginfo(1,100)) returns 100 rows of data for ri!start=10/01/2014,ri!end=10/31/2014 [ri!start & ri!end are both date types],
And
my input task output rule: rule!esc_get_EI_data_by_date_range(todatetime(ac!startDate),todatetime(ac!endDate),topaginginfo(1,100)) returns nothing for ac!startDate=10/31/2014, ac!endDate=10/31/2014, [ac!startDate & ac!endDate are both date types]?
...
OriginalPostID-125679
OriginalPostID-125679
Discussion posts and replies are publicly visible
Parents
0
Aleksi White
Appian Employee
over 9 years ago
Please tell me if my assumption is correct:
You currently have a user input task, where the user selects the start date and end date on a form. These dates are saved into ac!startDate and ac!endDate, and the rule esc_get_EI_data_by_date_range is executed with this data in the user input task's data output tab.
Can you try saving the ac! variables into process variables in the output tab instead? Then after that have a script task that executes the rule using those process variables instead.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Aleksi White
Appian Employee
over 9 years ago
Please tell me if my assumption is correct:
You currently have a user input task, where the user selects the start date and end date on a form. These dates are saved into ac!startDate and ac!endDate, and the rule esc_get_EI_data_by_date_range is executed with this data in the user input task's data output tab.
Can you try saving the ac! variables into process variables in the output tab instead? Then after that have a script task that executes the rule using those process variables instead.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data