ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » suspend a process instance using XML

Post new topic  Reply to topic
 suspend a process instance using XML « View previous topic :: View next topic » 
Author Message
amitroyc
PostPosted: Fri Apr 05, 2002 6:33 am    Post subject: Reply with quote

Novice

Joined: 02 Apr 2002
Posts: 10
Location: India

Can i suspend a process instance using the input XML that goes to the input queue? There is something called as <ProcessTemplateCreateAndStartInstance> tag. Is there something similar available to suspend an instance??
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jmac
PostPosted: Fri Apr 05, 2002 10:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Prior to V332 there isn't. But you should probably check the doc to see if anything has been added.

_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
amitroyc
PostPosted: Mon Apr 08, 2002 7:15 am    Post subject: Reply with quote

Novice

Joined: 02 Apr 2002
Posts: 10
Location: India

OK. but i would want to suspend the process instance from within my UPES API. I tried to use the suspend() method of the processinstance, but i needed to log in to the system first. so i used the Agent API to locate a service which would logon to the WF server. But the system hangs whenever i call the agent.setName() method. Here is a sample of the code that i am trying to use:

Agent agent = new Agent();
agent.setLocator(Agent.LOC_LOCATOR);
agent.setName("MQWFAGENT");
service = agent.locate("FMCGRP", "FMCSYS");
service.logon("ADMIN","password");

The system does not do beyond agent.setName() line and hangs.

But if i try to run the above lines in a separate thread instead of the UPES code, it works fine. Please clarify as to what should be the problem with the above lines in the UPES code.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jmac
PostPosted: Mon Apr 08, 2002 11:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Is the system that the UPES is running on Local to MQWF?

_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
amitroyc
PostPosted: Mon Apr 08, 2002 12:42 pm    Post subject: Reply with quote

Novice

Joined: 02 Apr 2002
Posts: 10
Location: India

Yes it is.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jmac
PostPosted: Mon Apr 08, 2002 2:19 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

If that's the case, I have no idea what your problem is.

SORRY

_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vedbhat
PostPosted: Mon Apr 08, 2002 7:11 pm    Post subject: Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi,

I think MQWF support Suspend functionality for Process Instance through XML in version 3.3.2.

Regards
Ved
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » suspend a process instance using XML
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.