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 » Activity info mapping

Post new topic  Reply to topic
 Activity info mapping « View previous topic :: View next topic » 
Author Message
ourtown
PostPosted: Thu Dec 19, 2002 9:36 am    Post subject: Activity info mapping Reply with quote

Acolyte

Joined: 05 Feb 2002
Posts: 67
Location: Somerset, NJ

Am I missing something obvious ?

I am trying to map the Activity info from Datain to my Data out stucture

For example I would like to put the value of _ACTIVITY_INFO.People into an output string.

The Buildtime allows me to do this but when I start my instance all the Workflow control fields are null

Is there a way to do this using the normal modelling process - am I missing some flag that I should set
_________________
Brian S. Crabtree
WBI Consultant
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Thu Dec 19, 2002 9:45 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

If you are trying to map the Activity_info from input container of your activity to the output container, you should use a data-default connector.

-Laze
Back to top
View user's profile Send private message Send e-mail
ourtown
PostPosted: Thu Dec 19, 2002 2:35 pm    Post subject: Reply with quote

Acolyte

Joined: 05 Feb 2002
Posts: 67
Location: Somerset, NJ

Yes I have that but all Activity_info fields are empty in the datain container so of course nothing gets copied
_________________
Brian S. Crabtree
WBI Consultant
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Thu Dec 19, 2002 2:43 pm    Post subject: Reply with quote

Jedi Knight

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

Brian:

How are you starting this process?

Do you have a source container?

How did you get the values into the container in the first place?

If you would care to, email me your FDL and I will have a look.
_________________
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
Ratan
PostPosted: Thu Dec 19, 2002 2:52 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

_Activity_info and _Process_Info data members are used to set dynamically set the properties of a process/activity.
You have to specify these Properties. Otherwise they will use default values.

Refer to MQWF Programmming manual: chapter9, Handling Containers.

-Laze
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Dec 20, 2002 8:52 am    Post subject: Reply with quote

Jedi Knight

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

Brian:

After looking at your FDL, I don't see where you are ever setting anything into the Source Container by default.

Are you specifying these values at Process Start time? How?
_________________
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
ourtown
PostPosted: Fri Dec 20, 2002 1:00 pm    Post subject: Reply with quote

Acolyte

Joined: 05 Feb 2002
Posts: 67
Location: Somerset, NJ

Volker Hoss says
>>>>>>>>>>
you have to set the _ACTIVITY.INFO.xxx members in your Datain container.
There is no automatism that would fill these members, i.e. they are
predefined but not initialized.
<<<<<<<<<

All I want to do is to pass the name of the assigned user to a UPES -
I have a staffing model within workflow so my process instance doesnt
know which user was assigned

I didnt want to have to write a program to query the API to find out what is in Workflow's Staffing model

I dont have a requirement to dynamically update the staffing model - which seems to be the only use for _ACTIVITY.INFO and _PROCESS_INFO
_________________
Brian S. Crabtree
WBI Consultant
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Dec 20, 2002 1:10 pm    Post subject: Reply with quote

Jedi Knight

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

Brian:

Of course Volker is right....

I didn't get this out of your original message...

Quote:
All I want to do is to pass the name of the assigned user to a UPES -
I have a staffing model within workflow so my process instance doesnt
know which user was assigned


The UPES activity has access to the assigned user through the <Starter> Tag. If you need the UPES to have access to the Process Starter that will require an API call. If you need the UPES to have access to the starter of some previous activity, that will also require an API call.
_________________
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
ourtown
PostPosted: Fri Dec 20, 2002 7:11 pm    Post subject: Reply with quote

Acolyte

Joined: 05 Feb 2002
Posts: 67
Location: Somerset, NJ

Thanks John

I can solve this particular problem like that but I was rather expecting there to be some way to persuade Workflow to populate the structures with the information that it already has
_________________
Brian S. Crabtree
WBI Consultant
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Sat Dec 21, 2002 5:16 am    Post subject: Reply with quote

Jedi Knight

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

Brian:

The only members that Workflow populates are _ACTIVITY, _PROCESS, and _PROCESS_MODEL. The others are there for us to pass information to Workflow.

GOOD LUCK.
_________________
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 » Activity info mapping
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.