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]Staff assignment-Block Activity

Post new topic  Reply to topic
 [SOLVED]Staff assignment-Block Activity « View previous topic :: View next topic » 
Author Message
kotha
PostPosted: Mon Apr 25, 2005 7:37 am    Post subject: [SOLVED]Staff assignment-Block Activity Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

I have a scenario where one activity should be transferred from one person to other dynamically. I am trying to implement it with a Block activity.

Here is the description:

Activity A -------------> Block (Transition Condition: process = "incomplete" ; Exit Condition for the Block: process = "complete")

Block consists of souce , activity B and Sink

Activity B properties (Staff1: people from container: Reviewer)

At activity A, The data structure values process and Reviewer will be assigned.

based on the Reviewer value, Activity B is assigned.

At Activity B, again The data structure values process and Reviewer will be assigned.


based on the Reviewer value, the same activity (activity B) should be assigned to different person until exit condition met.

But whenever the activity B exits , the Staff value is not changing and activity B is going to the person previously mentioned by Activity A.

i am trying to transfer the work item to different persons from the container.

What is missing in my process diagram?. How should I achieve it....
If you feel this is not the correct implementation, could you suggest any.
Back to top
View user's profile Send private message
jmac
PostPosted: Mon Apr 25, 2005 7:53 am    Post subject: Reply with quote

Jedi Knight

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

I am having a little trouble following what you are saying.

When Activity B is assigned, lets say that Reviewer contains "USERA". So USERA runs activity B. Now, when Activity B ends, I am assuming that Activty B passes its exit condition and the Block fails its exit condition, causing the Block to run again, and Activity B to go ready. Now, this second time B goes ready, it is going to use the value in the member Reviewer to do the staff assignment. So, IF Activity B did not change the value it is still "USERA" and what you describe is the expected result. If Activity B did change the value of Reviewer, then your mapping must be wrong.
_________________
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
kotha
PostPosted: Mon Apr 25, 2005 8:05 am    Post subject: Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

jmac wrote:
If Activity B did change the value of Reviewer, then your mapping must be wrong.


you understand it clearly.

I have one data structure, say XYZ with two member values: Reviewer, process.

for all activities and programs and for the process input , output data strucutre is XYZ.

So by default, every memebr of the data structure mapped to the same of the output.

Do I need to map explicitly? can I send my FDL?
Back to top
View user's profile Send private message
jmac
PostPosted: Mon Apr 25, 2005 8:37 am    Post subject: Reply with quote

Jedi Knight

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

It will be easiest for me if you send the FDL to my email address.

Please be sure to do an export of the process DEEP so that I have everything I need, and don't have to guess.
_________________
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
jmac
PostPosted: Mon Apr 25, 2005 8:56 am    Post subject: Reply with quote

Jedi Knight

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

You need a Data Loop connector on the Block. I assume that your activity JdrDecisionMaking is setting a new value into the Reviewer member, this member is then mapped to the sink.

BUT you need to get the new value mapped back to the source of the block for your second time thru the block. The solution to this is the Data Loop connector at the block level, which will map the output of the block to the input of the block (i.e the source), thus second time in you will get the new value.
_________________
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
kotha
PostPosted: Mon Apr 25, 2005 9:01 am    Post subject: Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

John,

Problem SOLVED....

as you said, with Data loop connector, it is perfect now!!!!.

Thanx John
Back to top
View user's profile Send private message
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]Staff assignment-Block Activity
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.