My Workflow Status

This plugin allows logged user to see the number of tasks assigned to him and him roles and to open a modal window containing the portlet for workflow management.

Features:
  • 3 View Mode;
  • Customizable Color ("Modern" View Mode);
  • Fast access to "My Workflow Portlet";
  • Asynchronous ajax call;
  • Fast refresh tasks counter by single click on task number;

If you want to add portlet in your theme, use this example code:

#if ($is_signed_in)
#set ($my_portlet_id = '1_WAR_trefstatusworkflowportlet')
#set ($locPortletPreferenceService = $serviceLocator.findService("com.liferay.portal.service.PortletPreferencesLocalService"))
#set ($locPlidLong = $getterUtil.getLong($plid))
$locPortletPreferenceService.deletePortletPreferences(0, 3, $locPlidLong, $my_portlet_id)

#set ($VOID = $velocityPortletPreferences.setValue('display-style', '1'))
#set ($VOID = $velocityPortletPreferences.setValue('portletSetupShowBorders', 'false'))
#set ($VOID = $velocityPortletPreferences.setValue('statusworkflow-viewmode', "03"))
#set ($VOID = $velocityPortletPreferences.setValue('statusworkflow-color-count-tasks-user-text', "black"))
#set ($VOID = $velocityPortletPreferences.setValue('statusworkflow-color-count-tasks-user-full', "red"))
#set ($VOID = $velocityPortletPreferences.setValue('statusworkflow-color-count-tasks-user-empty', "#FFCC00"))

#set ($VOID = $velocityPortletPreferences.setValue('statusworkflow-color-count-tasks-user-roles-full', "red"))
#set ($VOID = $velocityPortletPreferences.setValue('statusworkflow-color-coun-tasks-user-roles-empty', "#666666"))
#set ($VOID = $velocityPortletPreferences.setValue('statusworkflow-color-count-tasks-user-roles-text', "white"))
##set ($VOID = $velocityPortletPreferences.setValue('statusworkflow-show-tooltip', "false"))

$theme.runtime($my_portlet_id, '', $velocityPortletPreferences.toString())
#set ($VOID = $velocityPortletPreferences.reset())
#end

Latest Changes

Bug fixing

Customers Who Viewed This Also Bought