Filtering data in report widget, on date column

622 views
Skip to first unread message

vinod...@gmail.com

unread,
Jun 10, 2016, 7:03:45 AM6/10/16
to Fujitsu RunMyProcess Developer Community, vk, vipin, Vinod Varma
Hi

I am trying to filter report widget on date column. When I try to filter based on your input it is filtering out everything. I have attached screenshots with and without filter (clear filter is working but not add filter.

Request help; thanks in advance

Regards

Vinod

reportAfterFilter.png
reportWIthoutFilter.png

Bidisha Das

unread,
Jun 10, 2016, 8:49:21 AM6/10/16
to suppor...@runmyprocess.com
Hi,
The code you are implementing will filter report based on your Action Date already present in report and will give you the records where Action Date is greater than the "From" date entered by you.So, make sure you are using correct variable names in the code.

For ex:Make sure the "actiondate" you have used in code is the value variable/property name in report.
Don't use addFilter & clearFilter at the same time. 
I have tested the functionality with Process report and its working fine for me.


Thanks & Regards
Bidisha

vinod...@gmail.com

unread,
Jun 10, 2016, 11:06:34 AM6/10/16
to Fujitsu RunMyProcess Developer Community
Hi Bidisha

Thanks for the support.

I had used clear filter only to remove filter and I comment it out when I try to set filter.

I have tried it again and it does not seem to work.

Script I am using is below:
date1=id_fromdatenum.getDate();
id_reminders.addFilter("actiondate", RMP_FilterOperator.GREATER_THAN, date1);
id_reminders.refresh();

Column name 'actiondate' I have taken from property in widget only. (screenshot attached).

Am I missing something? Request help

Regards


Vinod
reportFields.png

Murali

unread,
Jun 11, 2016, 12:59:45 AM6/11/16
to Fujitsu RunMyProcess Developer Community, vinod...@gmail.com

vinod...@gmail.com

unread,
Jun 13, 2016, 6:00:31 AM6/13/16
to Fujitsu RunMyProcess Developer Community, vinod...@gmail.com
Thanks a lot, Murali. Links helped.
Reply all
Reply to author
Forward
0 new messages