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 » Workflow Symbolic References

Post new topic  Reply to topic
 Workflow Symbolic References « View previous topic :: View next topic » 
Author Message
praveenchhangani
PostPosted: Wed Jan 15, 2003 10:26 am    Post subject: Workflow Symbolic References Reply with quote

Disciple

Joined: 20 Sep 2002
Posts: 192
Location: Chicago, IL

I was reading somewhere that by using the symbolic reference character in workflow i.e. "%"; One is able query what the current value of data items may be at the time of a particular activity.

I tried this out just as a test in buildtime. Using the Workflow Native-Client(Fat-Client), I was however, not able to determine the value of the data items I was querying.

Below is the symbolic reference syntax I used in BT

% Variable Name1 %
% Variable Name2 %
% Variable Name3 %

Am I missing something obvious like quotes before and after perhaps?
Also is there a known limit to the number of symbolic references one can put in the description field.
_________________
Praveen K. Chhangani,

IBM Certified Solutions Designer -
MQ Workflow 3.4.
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Wed Jan 15, 2003 10:34 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

I havent tested it but I dont specify a blank space between the '%' and the variable name. If my d/s is VAR_1, I would specify %VAR_1% in the description and it always works. Give it a shot.

-Laze
Back to top
View user's profile Send private message Send e-mail
praveenchhangani
PostPosted: Wed Jan 15, 2003 10:42 am    Post subject: Reply with quote

Disciple

Joined: 20 Sep 2002
Posts: 192
Location: Chicago, IL

Laze:

I just tried that with and without the space, but no luck

All I see is some like this...

Code:


%Variable Name1%



Do you think it's possible that if the data item does not have a value stored in it yet, workflow simply puts something like what's above instead of perhaps returning a null value?
_________________
Praveen K. Chhangani,

IBM Certified Solutions Designer -
MQ Workflow 3.4.
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Wed Jan 15, 2003 11:16 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

I believe it should return a null vaue if the field is empty.

If you you D/s looks like this :

Datastructure Person
member string FirstName
member String LastName
END PERSON.

Then to display the info you have to specify it like this

%Person.FirstName% and %Person.LastName%.

If you are trying to display it in the 'documentation' space it wont work. You should be able to use it in the 'Description' space.

-Laze
Back to top
View user's profile Send private message Send e-mail
manoj
PostPosted: Wed Jan 15, 2003 12:01 pm    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

if u try the following in the "DESCRIPTION" field
|%name1%|%name2%| with name1 = "Mac" and name2="" or null
then it will appear as

|Mac||
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
praveenchhangani
PostPosted: Wed Jan 15, 2003 12:30 pm    Post subject: Reply with quote

Disciple

Joined: 20 Sep 2002
Posts: 192
Location: Chicago, IL

This worked. I'm not quite sure what it was. After I took out the spaces from the description field and re-imported into runtime, I was able to see values ONLY after a native client restart.

At anyrate, thanks a bunch!
_________________
Praveen K. Chhangani,

IBM Certified Solutions Designer -
MQ Workflow 3.4.
Back to top
View user's profile Send private message Send e-mail
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 » Workflow Symbolic References
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.