You need to create a Java action to which you pass the object you want to refresh and then you can execute the following Java code:
// BEGIN USER CODE
FeedbackHelper.addRefreshObjectFeedback(getContext(), ObjectToRefresh.getId());
return true;
// END USER CODE