perform the Operation after Blog Approve's

Rushikesh Gawade, modificat fa 5 anys. New Member Apunts: 9 Data d'incorporació: 06/04/21 Publicacions recents

Hello,

when blog is created and approved by administrator i want to add the coins to blog creators account. for that which service wrapper class and method need to overrride.

please provide your help.

thumbnail
Mohammed Yasin, modificat fa 5 anys. Liferay Master Apunts: 593 Data d'incorporació: 08/08/14 Publicacions recents

Hi ,

You can write a service wrapper for  BlogsEntryLocalService.updateStatus(userId, entryId, status, serviceContext, workflowContext) method , and perform your custom activity when status is approved 

Rushikesh Gawade, modificat fa 5 anys. New Member Apunts: 9 Data d'incorporació: 06/04/21 Publicacions recents

Thank you Mohammed. its working with the BlogsEntryLocalService.updateStatus(userId, entryId, status, serviceContext, workflowContext) methos. 

thankyou so much.