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 » How to know whether a WorkItem is Expired or not

Post new topic  Reply to topic
 How to know whether a WorkItem is Expired or not « View previous topic :: View next topic » 
Author Message
manoj
PostPosted: Wed Sep 11, 2002 7:32 am    Post subject: How to know whether a WorkItem is Expired or not Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Hi ,
I want to specify some condition in the control connector after an activity is expired. How do i know that the activity is actually expired and not checked in by some one. Is there a specific value for _RC for an expired activity.

regds
-manoj
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Wed Sep 11, 2002 11:09 am    Post subject: Reply with quote

Jedi Knight

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

You can check to see if the state is expired. See the doc for the exact syntax.
_________________
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
manoj
PostPosted: Wed Sep 11, 2002 11:38 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Hi John,
I want to specify a condition in my control connector. Some body can work on the task before it's getting expired. If some one worked on the task (did a checkin) then the flow should be different, if nobody worked on the tasks for a specific time period then the activity expires and should take another flow. So i need to differentiate between a task which is checked in by some one and a task which is expired using the control connector ( or is there any other way for this). In the datastructure i did n't find some default element useful for this.

regds
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
amittalekar
PostPosted: Wed Sep 11, 2002 12:01 pm    Post subject: Reply with quote

Disciple

Joined: 03 Apr 2002
Posts: 166
Location: VA, USA

I am not aware if there is any direct way to do this...Alternative may be to add a flag in the datastructure & set that flag if the task is checked in manually...Transition codition would be to check that flag....
Back to top
View user's profile Send private message Yahoo Messenger
Ratan
PostPosted: Wed Sep 11, 2002 2:19 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

You can have a default connector path taken when an activity expires and other conditions if it was checked in manually ( some element in the datastructures might be changing if checked in) or a flag as suggested.

-Laze
Back to top
View user's profile Send private message Send e-mail
manoj
PostPosted: Wed Sep 11, 2002 2:22 pm    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

I wanted to know whether it's possible to use some default elements like _RC or _ACTIVITY_INFO etc for this purpose instead of redoing my datastructure and java class.

thx
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Wed Sep 11, 2002 4:48 pm    Post subject: Reply with quote

Jedi Knight

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

Perhaps I don't understand, but is there some reason that you can not use
_State(<activity name>) = _Expired

vs

_State(<activity name>) = _Finished
_________________
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
manoj
PostPosted: Thu Sep 12, 2002 5:30 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Hi,
I didn't find _State() = _Expired etc in any of the docs . Which documents u are refering . Please lemme know. Any way it works.
Thx for the help.
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Thu Sep 12, 2002 8:05 am    Post subject: Reply with quote

Jedi Knight

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

This is documented in the Buildtime manual.
_________________
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 » How to know whether a WorkItem is Expired or not
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.