Message Boards

perform the Operation after Blog Approve's

Rushikesh Gawade, modified 3 Years ago.

perform the Operation after Blog Approve's

New Member Posts: 9 Join Date: 4/6/21 Recent Posts

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, modified 3 Years ago.

RE: perform the Operation after Blog Approve's

Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts

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, modified 3 Years ago.

RE: perform the Operation after Blog Approve's

New Member Posts: 9 Join Date: 4/6/21 Recent Posts

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

thankyou so much.