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 » Updating the Global Data Container

Post new topic  Reply to topic
 Updating the Global Data Container « View previous topic :: View next topic » 
Author Message
workflowdude
PostPosted: Thu Jan 29, 2004 4:46 pm    Post subject: Updating the Global Data Container Reply with quote

Novice

Joined: 17 Nov 2003
Posts: 24
Location: US

I am trying to update a GDC variable using the WorkFlow API.
Here;s the code

ReadOnlyContainer roc=<ProcessInstanceobject>.globalContainer();
ReadWriteContainer rwc=roc.asReadWriteContainer();
rwc.setString("owner","workflowdude");

But this value is not updated in the Database.
If I map the GDC to an activity in my process and have the variable "owner" mapped to some variable in the activity container, I can see the value in the Database.

What am i doing wrong? I am sure you can update the GDC through API.

I am using Workflow 3.4 SP4.

Thanks in advance for your help.
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Jan 29, 2004 5:02 pm    Post subject: Reply with quote

Jedi Knight

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

Global Container can not be updated via any API... Updates are made via mapping from an activity to the GDC.
_________________
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
workflowdude
PostPosted: Thu Jan 29, 2004 5:11 pm    Post subject: Reply with quote

Novice

Joined: 17 Nov 2003
Posts: 24
Location: US

Well, there is an API to retrieve it and there is no exception thrown when we try to update it..

any clues?
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Jan 29, 2004 5:31 pm    Post subject: Reply with quote

Jedi Knight

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

You can either believe what I have said or continue to try.... If you are successful please let us know how you did it.
_________________
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
sshaker
PostPosted: Thu Jan 29, 2004 6:33 pm    Post subject: Reply with quote

Disciple

Joined: 20 Sep 2002
Posts: 185

As GDC concept is evolving we can expect more things to happen in future versions.
_________________
shaker
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 » Updating the Global Data 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.