Maximo Wire - The IBM Maximo Help & Discussion Forum
May 23, 2012, 12:08:36 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to Maximo Wire, the IBM Maximo help forum. Feel free to register and ask any Maximo related questions you like.
 
  Home Help Search Login Register  
*
Pages: [1]   Go Down
  Print  
Author Topic: CRONTASK can kick Workflow??  (Read 1024 times)
0 Members and 1 Guest are viewing this topic.
Manek
Newbie
*

Karma: 0
Posts: 3


View Profile
« on: April 12, 2011, 12:34:31 pm »

Hello,
I don't have a lot of experience in maximo 7.2. I stated work with work flow and I wonder if CRONTASK can kick Workflow??

Many thanks 
Logged
maurogrz
Global Moderator
Full Member
*****

Karma: 14
Posts: 111



View Profile Email
« Reply #1 on: April 12, 2011, 09:18:21 pm »

yes it can.
in the crontask class use this statement:

((WorkFlowServiceRemote)MXServer.getMXServer().lookup("WORKFLOW")).initiateWorkflow("WFNAME", newWorkorder);

where WFNAME is the processname you want to start

Mauro
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Recent

TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!