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 » Hard code a value in Global container

Post new topic  Reply to topic
 Hard code a value in Global container « View previous topic :: View next topic » 
Author Message
ChrisThomas
PostPosted: Mon Mar 01, 2004 1:38 pm    Post subject: Hard code a value in Global container Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Mon Mar 01, 2004 2:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Paul D
PostPosted: Mon Mar 01, 2004 2:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jmac
PostPosted: Mon Mar 01, 2004 3:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ChrisThomas
PostPosted: Wed Mar 24, 2004 8:21 am    Post subject: SOLVED Reply with quote

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
View user's profile Send private message
ChrisThomas
PostPosted: Wed Mar 24, 2004 8:34 am    Post subject: [SOLVED] Reply with quote

Apprentice

Joined: 14 May 2003
Posts: 29
Location: Wisconsin

Solved
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 » Hard code a value in Global container
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.