|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Some one pls reply!!! |
« View previous topic :: View next topic » |
Author |
Message
|
anpati1 |
Posted: Wed Jul 11, 2007 8:52 am Post subject: Some one pls reply!!! |
|
|
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 |
|
 |
jidvishrawal |
Posted: Thu Jul 12, 2007 8:53 pm Post subject: |
|
|
 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 |
|
 |
mqseries0209 |
Posted: Fri Jul 13, 2007 5:30 am Post subject: |
|
|
 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 |
|
 |
jidvishrawal |
Posted: Mon Jul 16, 2007 9:21 pm Post subject: |
|
|
 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 |
|
 |
mqseries0209 |
Posted: Thu Jul 19, 2007 9:50 am Post subject: |
|
|
 Voyager
Joined: 30 Mar 2006 Posts: 90
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|