Author |
Message
|
praveenchhangani |
Posted: Wed Jan 15, 2003 10:26 am Post subject: Workflow Symbolic References |
|
|
 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 |
|
 |
Ratan |
Posted: Wed Jan 15, 2003 10:34 am Post subject: |
|
|
 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 |
|
 |
praveenchhangani |
Posted: Wed Jan 15, 2003 10:42 am Post subject: |
|
|
 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...
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 |
|
 |
Ratan |
Posted: Wed Jan 15, 2003 11:16 am Post subject: |
|
|
 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 |
|
 |
manoj |
Posted: Wed Jan 15, 2003 12:01 pm Post subject: |
|
|
 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 |
|
 |
praveenchhangani |
Posted: Wed Jan 15, 2003 12:30 pm Post subject: |
|
|
 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 |
|
 |
|