Optimize workflow activity screen approval process

58 views
Skip to first unread message

Hansa Jha

unread,
Sep 9, 2022, 2:50:23 AM9/9/22
to iDempiere
Hii,

There was a requirement , in which I had to modify the "work flow activity screen" to allow it to approve multiple documents at once.
I implemented this process in the following way:
1) Added a checkbox column in the grid for user to allow selecting multiple documents.
2) Added a approval button> on click of this button > I selected all the checked rows and made an array of the indexes.
3) Now looped through this array and call the  "onOK" function for each selected row.

The approval process is working perfectly but now its taking huge amount of time to approve multiple documents. 
Is there a way in which I can optimize the approval process? 

Thanks and Regards,
Hansa Jha.
Reply all
Reply to author
Forward
0 new messages