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 » Problem with Data Default Connector in Automatic Activity

Post new topic  Reply to topic
 Problem with Data Default Connector in Automatic Activity « View previous topic :: View next topic » 
Author Message
golam_m
PostPosted: Thu Dec 22, 2005 8:43 pm    Post subject: Problem with Data Default Connector in Automatic Activity Reply with quote

Apprentice

Joined: 10 Oct 2005
Posts: 48

Hi,
I have an automatic activity from which two control connectors are connected to two other activities. I am using a Data structure "Person" in all my activities. It has two attributes - PersonId1 and PersonId2. Both of them are Variable Length String type. I have set the transition condition as PersonId1 NOT NULL and PersonId2 NOT NULL in above two control connectors. I have put a Data Default Connector with the automatic activity from which the dicision is taking place as to which branch to go. But, in the runtime always both paths are being taken irrespective of putting any values to either of PersonId1 or PersonId2.

Please advise.

Thanks,
Back to top
View user's profile Send private message
kotha
PostPosted: Fri Dec 23, 2005 7:39 am    Post subject: Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

may be both personId1 and personId2 are null. and also check the syntax for the conditions.
Back to top
View user's profile Send private message
golam_m
PostPosted: Tue Dec 27, 2005 1:08 am    Post subject: Reply with quote

Apprentice

Joined: 10 Oct 2005
Posts: 48

syntax is correct only. One thing I want to let you know is that; when I am setting the variables PersonId1 and PersonId2 as type LONG instead of Variable Length String then it works fine.

Thanks,
Back to top
View user's profile Send private message
jmac
PostPosted: Tue Dec 27, 2005 7:54 pm    Post subject: Reply with quote

Jedi Knight

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

golam_m wrote:
syntax is correct only. One thing I want to let you know is that; when I am setting the variables PersonId1 and PersonId2 as type LONG instead of Variable Length String then it works fine.

Thanks,


If what you are saying here is correct, I would open a PMR
_________________
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
golam_m
PostPosted: Tue Dec 27, 2005 10:23 pm    Post subject: Reply with quote

Apprentice

Joined: 10 Oct 2005
Posts: 48

Thanks in advance jmac.

Please open the PMR.
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Dec 28, 2005 7:04 am    Post subject: Reply with quote

Jedi Knight

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

golam_m wrote:
Thanks in advance jmac.

Please open the PMR.


I cant open it... you have to
_________________
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
fidelio
PostPosted: Tue Jan 03, 2006 8:50 am    Post subject: Reply with quote

Apprentice

Joined: 14 Sep 2005
Posts: 45
Location: AttainBPM

Are you using the web client at any point in the process? Strings in WF can be empty ("") and therefore not NULL - the web client tends to set Strings as empty on check-in instead of NULL, whereas a number value will be NULL if it hasn't been assigned a value. A best practice would be to have your transition conditions check for empty Strings as well as NULL (i.e. PersonId1 NOT NULL AND PersonId1 <> "").
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 » Problem with Data Default Connector in Automatic Activity
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.