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 » WebSphere Process Server (WID/WPS/WAS+) » Some one pls reply!!!

Post new topic  Reply to topic
 Some one pls reply!!! « View previous topic :: View next topic » 
Author Message
anpati1
PostPosted: Wed Jul 11, 2007 8:52 am    Post subject: Some one pls reply!!! Reply with quote

Novice

Joined: 07 Jun 2007
Posts: 24
Location: Marlow, UK

I want to use a BPEL variable as xpath variable
Process Choreographer is generating errors for this.
I want to dynmically select eh elements as in
/element1/element[BPEL Variable]

I tried bpws:getVariableData('Variable')
and also $Variable but still it does not work.

Any help is appreciated!!!
Back to top
View user's profile Send private message
jidvishrawal
PostPosted: Thu Jul 12, 2007 8:53 pm    Post subject: Reply with quote

Apprentice

Joined: 07 Mar 2007
Posts: 29
Location: USA

Declare a property called "UserIdProp" in user environments for your BPEL process and you can use it like this

%wf:property.UserIdProp%

Wherever you are using variable for any kind of dynamicity normally it is surrounded by % operator, they way I have shown it above..
There are also methods called
setProcessCustomProperty("UserIdProp",userId);
and
getProcessCustomProperty("UserIdProp");
that you can use in your Java Snippets.
_________________
Thanks and regards,
Jiddvish Rawal
Back to top
View user's profile Send private message
mqseries0209
PostPosted: Fri Jul 13, 2007 5:30 am    Post subject: Reply with quote

Voyager

Joined: 30 Mar 2006
Posts: 90

from Infocenter:

Quote:
bpws:getVariableData( 'variableName' [, 'variablePart'] [, 'XPath'])
This function extracts arbitrary values from variables. The first argument names the source variable for the data, the second and third arguments are optional. When the first argument names an xsd-typed variable the 'variablePart' attribute must not be used.


What is the error generated by Process Server ?.
Back to top
View user's profile Send private message
jidvishrawal
PostPosted: Mon Jul 16, 2007 9:21 pm    Post subject: Reply with quote

Apprentice

Joined: 07 Mar 2007
Posts: 29
Location: USA

Can you send me the Infocenter link that states this.
_________________
Thanks and regards,
Jiddvish Rawal
Back to top
View user's profile Send private message
mqseries0209
PostPosted: Thu Jul 19, 2007 9:50 am    Post subject: Reply with quote

Voyager

Joined: 30 Mar 2006
Posts: 90

Quote:
Can you send me the Infocenter link that states this.




Here is the link

http://publib.boulder.ibm.com/bpcsamp/advancedProcessFeatures/xpath/functions.html
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 » WebSphere Process Server (WID/WPS/WAS+) » Some one pls reply!!!
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.