You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iDempiere
Hi,
Currently the default value of answer in workflow activities approval process is set to "No". How can I change it to"Yes"?
Anirban Ganguly
unread,
Dec 22, 2016, 2:36:05 AM12/22/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iDempiere
Problem resolved.
The class from where the default answer of workflow
activity is coming is MRefList.java --> getList method where
order by is executing in ascending order and as 'N' comes before 'Y' so
the default appears as 'No'. We need to add 'order by desc' so that 'Y'
comes as default answer.
Anozi Mada
unread,
Dec 22, 2016, 2:59:12 AM12/22/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iDempiere
I think it's bad idea to edit MRefList that way because everything using that method will be affected as well. In this case if you want to edit something, that would be WWFActivity.java
Regards, Anozi Mada
Anirban Ganguly
unread,
Dec 22, 2016, 3:57:18 AM12/22/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iDempiere
Thanks for the suggestion. I will look into it.
But I have used conditional 'order by desc' by providing AD_Reference_ID == 319. So it will not affect everything.
On Wednesday, December 21, 2016 at 10:00:48 AM UTC+5:30, Anirban Ganguly wrote: