Author |
Message
|
ChrisThomas |
Posted: Mon Mar 01, 2004 1:38 pm Post subject: Hard code a value in Global container |
|
|
Apprentice
Joined: 14 May 2003 Posts: 29 Location: Wisconsin
|
I have a requirement to set a field in the global container with a hard coded value that will define the current section this workflow is in. The complete workflow is broken into section and this section name needs to be displayed on our task list.
I am working in Modeler and I don't see a way to map the a hard code value into a field. Can I do it in the FDL file?
EXAMPLE:
DATA FROM 'GetCaseInformation' TO GLOBAL_CONTAINER 1
MAP 'Activity' TO "My Hard Coded String"
It looks like single quotes are field names is double quotes a string?
Any help would be great!
Thanks
Chris |
|
Back to top |
|
 |
jmac |
Posted: Mon Mar 01, 2004 2:02 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Chris:
I think you have found a bug. There appears to be no way to do this in WBI Modeler, but you can do this in Buildtime.
You should open a PMR on this... PLEASE let me know if you do not intend to open one up as then I will.
As a workaround, put the field in the output container of your first activity, set the default there (this CAN be done in modeler), then map it in. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Paul D |
Posted: Mon Mar 01, 2004 2:55 pm Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 200 Location: Green Bay Packer Country
|
I work with Chris, I just opened up a PMR, we will let you/mqseries.net know what we find out... _________________ Thanks!!!
Paul D |
|
Back to top |
|
 |
jmac |
Posted: Mon Mar 01, 2004 3:00 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Paul/Chris;
If you need to know how this is done in BT just send me a personal message and I can call and I will walk you thru it (I am in MST)
Regards _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
ChrisThomas |
Posted: Wed Mar 24, 2004 8:21 am Post subject: SOLVED |
|
|
Apprentice
Joined: 14 May 2003 Posts: 29 Location: Wisconsin
|
The problem had to do with the default data connector for an activity. When I set an initial value in the activity and then used the default data connector where I did a _STRUCT to _STRUCT mapping. This would wipe out what ever I put in the initial value fields. So to solve this problem in my default data connector I only mapped the fields that did not have initial value set for them.
It looks like default data connector is done last.
Also, does anyone know why when you set an initial value for a field you select the field in source column and then type the text in the initial value. This data only shows up in the output container? I would think if I select a field for the source column it would show up in my input container and if I select a field for the target field the data would then show up in the output container. That does not seem to be the case.
Thanks
Chris Thomas
Northwestern Mutual |
|
Back to top |
|
 |
ChrisThomas |
Posted: Wed Mar 24, 2004 8:34 am Post subject: [SOLVED] |
|
|
Apprentice
Joined: 14 May 2003 Posts: 29 Location: Wisconsin
|
|
Back to top |
|
 |
|