Author |
Message
|
ourtown |
Posted: Thu Dec 19, 2002 9:36 am Post subject: Activity info mapping |
|
|
 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 |
|
 |
Ratan |
Posted: Thu Dec 19, 2002 9:45 am Post subject: |
|
|
 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 |
|
 |
ourtown |
Posted: Thu Dec 19, 2002 2:35 pm Post subject: |
|
|
 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 |
|
 |
jmac |
Posted: Thu Dec 19, 2002 2:43 pm Post subject: |
|
|
 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 |
|
 |
Ratan |
Posted: Thu Dec 19, 2002 2:52 pm Post subject: |
|
|
 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 |
|
 |
jmac |
Posted: Fri Dec 20, 2002 8:52 am Post subject: |
|
|
 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 |
|
 |
ourtown |
Posted: Fri Dec 20, 2002 1:00 pm Post subject: |
|
|
 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 |
|
 |
jmac |
Posted: Fri Dec 20, 2002 1:10 pm Post subject: |
|
|
 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 |
|
 |
ourtown |
Posted: Fri Dec 20, 2002 7:11 pm Post subject: |
|
|
 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 |
|
 |
jmac |
Posted: Sat Dec 21, 2002 5:16 am Post subject: |
|
|
 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 |
|
 |
|