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 » [SOLVED]can we delete workitems

Post new topic  Reply to topic
 [SOLVED]can we delete workitems « View previous topic :: View next topic » 
Author Message
amjadu
PostPosted: Thu Feb 26, 2004 7:32 am    Post subject: [SOLVED]can we delete workitems Reply with quote

Novice

Joined: 26 Feb 2004
Posts: 13
Location: Banglore, India

Hi,
I am a newbie to WorkFlow, Please bear with me.
Is there a way I could delete the WorkItems from the WorkList ?
I would like to know, if I will be able to segragate the finished/unfinished ones and delete them, Is there any command to delete all the Workitems at a stretch, I need to know the possibilities of the above 3 scenarios.
_________________
Regards - Amjad
Back to top
View user's profile Send private message Yahoo Messenger
jmac
PostPosted: Thu Feb 26, 2004 8:25 am    Post subject: Re: can we delete workitems Reply with quote

Jedi Knight

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

amjadu wrote:

Is there a way I could delete the WorkItems from the WorkList ?.

yes use the workitem delete() method. (Inherited from the Item superclass)

Quote:
I would like to know, if I will be able to segragate the finished/unfinished ones and delete them,


Yes use a filter based on state

Quote:
Is there any command to delete all the Workitems at a stretch


No each individual workitem is going to need to be deleted separately, you of course could automate this (like the IBM fat client does) so that you can do it with a single click
_________________
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
amjadu
PostPosted: Thu Feb 26, 2004 8:43 am    Post subject: can we delete workitems from cmd Reply with quote

Novice

Joined: 26 Feb 2004
Posts: 13
Location: Banglore, India

Hi John,
Thank you for the quick reply
My server is AIX, But I am currently testing on Windows NT,
I would like to know if We have any command like fmcamain to delete the Wokitems which are pending. I dont want to do it in the code.
Is there any possibility to delete them through the command prompt.
_________________
Regards - Amjad
Back to top
View user's profile Send private message Yahoo Messenger
vennela
PostPosted: Thu Feb 26, 2004 8:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

fmcamain will NOT delete the work itmes. This is used to start a workflow server.

There is no way you can do the deletes using command prompt.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jmac
PostPosted: Thu Feb 26, 2004 8:51 am    Post subject: Reply with quote

Jedi Knight

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

What is stopping you from having a windows client on your NT box?
_________________
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
amjadu
PostPosted: Thu Feb 26, 2004 9:39 am    Post subject: can we delete the work items from cmd Reply with quote

Novice

Joined: 26 Feb 2004
Posts: 13
Location: Banglore, India

Hi Vini,
I have an idea about starting the WorkFlow servers ...i have started the server with fmcamain -y CMMN , I was just curious to know if we had any other command like that, to delete the work items from command prompt

John,
I have got a lot of Workitems in the worklist, I would like to clear them all, is there any other workaroung, as i am testing, it has created a lot of instances
_________________
Regards - Amjad
Back to top
View user's profile Send private message Yahoo Messenger
amjadu
PostPosted: Thu Feb 26, 2004 9:41 am    Post subject: Re: can we delete the work items from cmd Reply with quote

Novice

Joined: 26 Feb 2004
Posts: 13
Location: Banglore, India

Forgot to mention, I need this help for the production , for which we have imported the FDL to AIX machine
_________________
Regards - Amjad
Back to top
View user's profile Send private message Yahoo Messenger
jmac
PostPosted: Thu Feb 26, 2004 9:43 am    Post subject: Reply with quote

Jedi Knight

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

The best way to get rid of these is to Terminate the Instances, The only way to do that is via an installed client or writing some code to do so. To me the fastest way would be to use the fat client to terminate all of the running instances.
_________________
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
amjadu
PostPosted: Thu Feb 26, 2004 9:49 am    Post subject: Reply with quote

Novice

Joined: 26 Feb 2004
Posts: 13
Location: Banglore, India

I guess that solves my problem, Thank you John
I dont know how to close this query,
Could you please do it for me.
_________________
Regards - Amjad
Back to top
View user's profile Send private message Yahoo Messenger
jmac
PostPosted: Thu Feb 26, 2004 9:56 am    Post subject: Reply with quote

Jedi Knight

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

FYI
How to mark solved:

Simply edit your original post, and modify the title by putting [SOLVED] in front.
_________________
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
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 » [SOLVED]can we delete workitems
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.