public InternalEvent buildProcessStartMessage ( Long processId , Long eventInstId , String masterRequestId , Map < String , String > parameters ) { InternalEvent evMsg = InternalEvent . createProcessStartMessage ( processId , OwnerType . DOCUMENT , eventInstId , masterRequestId , null , null , null ) ; evMsg . setParameters ( parameters ) ; evMsg . setCompletionCode ( StartActivity . STANDARD_START ) ; // completion // code - // indicating // standard start return evMsg ; }
A utility method to build process start JMS message .