List of usage examples for com.liferay.portal.kernel.workflow WorkflowInstanceManagerUtil signalWorkflowInstance
public static WorkflowInstance signalWorkflowInstance(long companyId, long userId, long workflowInstanceId, String transitionName, Map<String, Serializable> workflowContext) throws WorkflowException
From source file:com.liferay.portlet.workflowinstances.action.EditWorkflowInstanceAction.java
License:Open Source License
protected void signalInstance(ActionRequest actionRequest) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); long workflowInstanceId = ParamUtil.getLong(actionRequest, "workflowInstanceId"); String transitionName = ParamUtil.getString(actionRequest, "transitionName"); WorkflowInstanceManagerUtil.signalWorkflowInstance(themeDisplay.getCompanyId(), themeDisplay.getUserId(), workflowInstanceId, transitionName, null); }