Unable to customize condition branch
Hello,
I'm having a strange issue where I want to put some content in Starter Edition "Virtual Server Post-provisioning" process which sould be allowed as this process has the "workflow" customizable flag.
I've been able to add some activities but when it comes to a condition branch, I can add it but not configure it, see screenshot below:
Any hint on what I'm doing wrong ?
Regards,
Pierre
Hi Julio,
Thank you for your answer.
I am running Starter Edition 3.0.1 with CPO 2.3.0 and fololowing patches :
- 2.3.0 Hotfix1
- 2.3.0 Hotfix2
- 2.3 Content Update 1
Which gives this:
Which patches do you suggest I apply ?
Thank you.
Regards,
Pierre
Similar Messages
-
Unable to use X Query function in the conditional branch of Proxy Service
Hi all,
I need to check the string length of a node then depending on that have to call two different business services. i have added a conditional branch inside
the proxy service. Now when I use the below expression in the I get an error
fn:string-length(./braz:BrazilianPropertyAddress/braz:postcode)
in variable i have given body
I am getting the following error
X path expression invalid not a selection declare namespace jca ="" ......................
If I give the expression without any stringlength function there is no problem
Kindly helpHi Anuj,
Tried with text() its still throwing the same error
[BranchNode1] Conditional branch node specifies an invalid xpath: An error was reported compiling the XPath expression: XQuery exception: line 32, column 18: {err}XP0008 [{bea-err}XP0008a]: Variable "$body" used but not declared for expression: declare namespace jca = 'http://www.bea.com/wli/sb/transports/jca';
declare namespace wsp = 'http://schemas.xmlsoap.org/ws/2004/09/policy';
declare namespace jms = 'http://www.bea.com/wli/sb/transports/jms';
declare namespace tp = 'http://www.bea.com/wli/sb/transports';
declare namespace xs = 'http://www.w3.org/2001/XMLSchema';
declare namespace sftp = 'http://www.bea.com/wli/sb/transports/sftp';
declare namespace flow = 'http://www.bea.com/alsb/flow/transport';
declare namespace jpd = 'http://www.bea.com/wli/sb/transports/jpd';
declare namespace soap-env = 'http://schemas.xmlsoap.org/soap/envelope/';
declare namespace wsu = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd';
declare namespace dsp = 'http://www.bea.com/dsp/transport/sb';
declare namespace ejb = 'http://www.bea.com/wli/sb/transports/ejb';
declare namespace wsa = 'http://schemas.xmlsoap.org/ws/2004/08/addressing';
declare namespace bpel-10g = 'http://www.bea.com/wli/sb/transports/bpel10g';
declare namespace tuxedo = 'http://www.bea.com/wli/sb/transports/tuxedo';
declare namespace file = 'http://www.bea.com/wli/sb/transports/file';
declare namespace ctx = 'http://www.bea.com/wli/sb/context';
declare namespace fn = 'http://www.w3.org/2004/07/xpath-functions';
declare namespace soap12-enc = 'http://www.w3.org/2003/05/soap-encoding';
declare namespace soap12-env = 'http://www.w3.org/2003/05/soap-envelope';
declare namespace fn-bea = 'http://www.bea.com/xquery/xquery-functions';
declare namespace ws = 'http://www.bea.com/wli/sb/transports/ws';
declare namespace http = 'http://www.bea.com/wli/sb/transports/http';
declare namespace email = 'http://www.bea.com/wli/sb/transports/email';
declare namespace ftp = 'http://www.bea.com/wli/sb/transports/ftp';
declare namespace sb = 'http://www.bea.com/wli/sb/transports/sb';
declare namespace xsd = 'http://www.w3.org/2001/XMLSchema';
declare namespace soap-enc = 'http://schemas.xmlsoap.org/soap/encoding/';
declare namespace xsi = 'http://www.w3.org/2001/XMLSchema-instance';
declare namespace b = 'http://xmlns.oracle.com/B';
declare namespace add = 'http://schemas.xmlsoap.org/ws/2003/03/addressing';
fn:string-length($body/b:BProcessRequest/b:b/text()).. -
I think it is difficult not to have the conditional branching in the tool box.
It's such a common situation for a questionaire.
On my question on this issue in february I was told this tool was top on the list for next release.
When is next release ?
Probably to far away for me so an extra fix would be great.
regardsI think if conditional branching in forms was available within the next two months, I would pick up the annual package in a heartbeat. But I won't be able to wait longer than that for a solution, I have an event coming up in Oct that I need to setup up a registration form for sooner than later. If I could afford $4000 (self-hosted) for a license, I would have set up with http://www.formassembly.com/ last year. However, my non-profit cannot afford that out of pocket cost right now. From my research (and I spent a good month playing with their full feature trial on my own server), FormAssembly's form customization and capabilities are second to none right now (for products & services available to general public/small businesses). I think you all should look at them and take some good notes, and then of course improve on it.
I am excited about Adobe's solution that is FormsCentral though. Good work so far folks, just need a few more *important* features available. -
Follow-up on Conditional Branching
Good day!
I was able to add conditional branching as per Lily's(biri) instructions (please refer to this thread) but I noticed that it no longer works for one of the buttons AFTER I added a rollover caption, even after I removed the captions. Any thoughts on this please?
Please advise. Thanks!Thank you for replying Lily.
Here's what I have - the menu slide where I applied the conditional branching:
And this is how the other slides look like:
Before I applied the rollover captions, it worked as intended: learner clicks either buttons and is returned to slide_menu. If the learner has viewed both, it jumps to the activity (slide #36).
After I applied the rollover captions, the button 1's behavior does not follow the conditions, i.e. I start with button #2 > slide 35 > slide_menu > button #1 > slide 34 > slide 35 > slide 36. It should not go to slide 35 a second time.
Does this help? Much obliged! -
Hi,
I have problem with conditional branches in OSB.
I have 2 business services and 1 proxy service which route message to one of 2 business services.
Conditional branch look like this:
XPath: ./ter:process/ter:provider
In Variable: provider
TerminalKingBranch look like this:
Label: TerminalKing
Operator: =
Value: "King"
Message is never routed by TerminalKingBranch even message is <ter:process><ter:provider>King</ter:provider></ter:process>
I try repalce double quotes with single quotes without effect.
Message is always routed by Default route node.
Please help.
Thanks.<?xml version="1.0" encoding="UTF-8" ?>
<schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/project/TerminalService/TerminalService"
xmlns:tns="http://xmlns.oracle.com/project/TerminalService/TerminalService"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="process">
<complexType>
<sequence>
<element name="provider" type="string"/>
<element name="serviceId" type="decimal"/>
<sequence>
<element name="param1" type="string"/>
<element name="param2" type="string"/>
<element name="param3" type="string"/>
</sequence>
</sequence>
</complexType>
</element>
<element name="processResponse">
<complexType>
<sequence>
<element name="status" type="string"/>
</sequence>
</complexType>
</element>
</schema>
This is View Stage Configuration : Route Node
Route to [ TerminalService ] invoking [ process ]
Request Actions:
Assign [ XQuery Resource... ]
XQuery Resource: Project/Processes/TerminalService/TerminalServiceRequest Variable Names And Bindings: source - $body/ter:process
to [ transformedRequest ]
Replace [ node contents ] of [ . ]
in [ body ] with [ $transformedReq... ]
$transformedRequest
Response Actions:
Assign [ XQuery Resource... ]
XQuery Resource: Project/Processes//TerminalService/TerminalServiceResponse Variable Names And Bindings: sourceProcessResponse - $body/ter:processResponse
to [ transformedResponse ]
Replace [ node contents ] of [ . ]
in [ body ] with [ $transformedRes... ]
Edited by: Peter551059 on Jun 9, 2011 11:34 PM -
Error using conditional branch node in OSB
Hi,
We are using Oracle Service Bus in our project. I have created the following steps in the OSB Proxy Service:
1) Assigning a value in a variable inside a request pipeline.
2) I am using a Conditional Branch after the pipelined pair. The branching will happen according to the value of that variable, I assigned in the pipelined pair.
Here we are getting an error in OSB test console:
The invocation resulted in an error: Unknown error while processing message for service ProxyService MHEducation/CCAuthorization/CCAuthorizationProxyService.
I am getting the following log in the console:
<Nov 5, 2009 6:14:04 PM IST> <Error> <OSB Kernel> <BEA-382016> <Failed to instantiate router for service ProxyService MHEducation/CCAuthorization/CCAuthorizationProxyService: com.bea.wli.sb.management.BrokerManagementException: com.bea.wli.
sb.stages.StageException: The xquery cannot have an unbound current node.com.bea.wli.sb.management.BrokerManagementException: com.bea.wli.sb.stages.StageException: The xquery cannot have an unbound current node.
at com.bea.wli.sb.pipeline.BranchNode.<init>(BranchNode.java:89)
at com.bea.wli.sb.pipeline.RouterCompiler.compileNode(RouterCompiler.java:129)
at com.bea.wli.sb.pipeline.RouterCompiler.compileFlow(RouterCompiler.java:115)
at com.bea.wli.sb.pipeline.Router.<init>(Router.java:135)
at com.bea.wli.sb.pipeline.RouterCompiler.compileRouter(RouterCompiler.java:89)
Truncated. see log file for complete stacktrace
com.bea.wli.sb.stages.StageException: The xquery cannot have an unbound currentnode.
at com.bea.wli.sb.stages.expressions.ExpressionHelper.validateXQuery(ExpressionHelper.java:481)
at com.bea.wli.sb.stages.expressions.ExpressionHelper.validate(ExpressionHelper.java:59)
at com.bea.wli.sb.stages.expressions.ExpressionHelper.getExecutor(ExpressionHelper.java:325)
at com.bea.wli.sb.stages.expressions.ExpressionBuilderImpl.getExecutor(ExpressionBuilderImpl.java:151)
at com.bea.wli.sb.stages.expressions.ExpressionBuilderImpl.getExecutor(ExpressionBuilderImpl.java:143)
Truncated. see log file for complete stacktrace
>
Any suggestion why am I getting the error?
Chandrachur.check if your conditional branch uses quotes around the compaired value
so
/body/myinput = 'myvalue' instead of
/body/myinput = myvalue -
Unable to customize my portal masthead
Hi,
I am unable to customize my portal masthead.
I can't download the par file like "System Administration -> Support -> Portal Runtime -> Browse Deployment -> WEB-INF -> deployment -> temp (or) pcd -> com.sap.portal.navigation.masthead.par.bak ".
I'm using 2004s, EP7.0 , SP6
Unable to find the com.sap.portal.navigation.masthead.par.bak in the ZIP FOLDER.
Any valuable inputs to solve the prob are most welcome.Are there any blogs ?
thanks in advance.
Regards ,
TilakMastHead Change & Portal Desktop
Regards,
Nitin -
Unable to customize the af:REGION tag
Hi
I am using <af:region> tag for search contents, its working fine but its overlapping on header portion
I unable to customize it (unable to change the position of the component)
please if you allready use the region tag advice me how to use it.
thanks in advance
GiriBabuHi Frank
I am using Jdev 11.1, in that working with search component available under Regions catagory(ex: Search, saved Searches, Preferences, etc)
when i drag that search component into my jspx page i got the fallowing tag
<af:document id="d1" >
<af:form id="f1" >
<af:region value="#{bindings.searchview1.regionModel}" id="r1" styleClass="formatRegion" />
</af:form>
</af:document>
and in the pageDef page the fallowing code...
<executables>
<variableIterator id="variables"/>
<taskFlow id="searchview1"
taskFlowId="/oracle/webcenter/search/controller/taskflows/searchResults.xml#search-view"
activation="deferred"
xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
</executables>
Now... this code is working fine but when i include the header page say... the fallowing
*<jsp:include page="/jsp/header.jsp" flush="true"/>*
My search component is appearing over my header(overlapping on header portion)
the search results also appearing over header
Now... if i use any container components say (table)
<af:form id="f1" >
<table><tr><td>
<af:region value="#{bindings.searchview1.regionModel}" id="r1" styleClass="formatRegion" />
</td></tr></table>
</af:form>
now... it is appearing fine(ie, after my header portion), but the search results appearing only half(to see the rest i have to scroll), even there is a space available
Regards
GiriBabu -
Unable to customize notificati​ons & wallpaper.
On My BB Z10, after going to System Settings and selecting Notifications, I am unable to customize notifications for contacts & applications. Also I'm not able to change wallpaper. On clicking the select wallpaper option (under Display Settings) , the list of other wallpapers does not come up and nothing happens.
The OS on the device is 10.2.1.3062
Please Help.Sounds like you have set up the Blackberry OK to use the wireless internet connection,
but you also need to set up the E-Mail aswell, as you will have a new E-Mail server from your new Internet service provider.
From the Main Menu click "Setup" then either the "Setup Wizard" followed by "E-Mail",
or go straight to "E-mail settings" and follow the on screen instructions.
If you found my answer ( or anyone else's ) to be helpful, don't forget to click the Kudos button ! -
Conditional Branch after an service callout
Hi All
I am new to configuring services in OSB.What i want to do is first call a service and depending upon the returned value ,route to other services.But the result of the service callout is availabe in a variable ,say responseBody,and for conditional branch we need only xpath/xquery to test conditions.
Please Help.
Regards,
ChinmayHi All
I am new to configuring services in OSB.What i want to do is first call a service and depending upon the returned value ,route to other services.But the result of the service callout is availabe in a variable ,say responseBody,and for conditional branch we need only xpath/xquery to test conditions.
Please Help.
Regards,
Chinmay -
Conditional Branch Execution?
OK, Newbie here (and a bit frustrated). First application in the works.
I have 2 ways to get to a page. When I click on the "Create" button, I want to return to the page that called the current page.
Call them pages 1, 2 and 3.
The default branching (unconditional branch) is 1 to 3 back to 1. This is a report to form back to report. This is the structure generated when I added the page when I initially generated the application.
The secondary branching (conditional branch) is 2 to 3 back to 2.
I set the sequence of the branches to do the conditional branch 1st then the unconditional branch 2nd.
The "back to 2" is the problem.
When I set it to "Unconditional" it works. When I set a condition it doesn't work.
I tried "Request = Expression 1". I set the REQUEST in the button on page 2 to a specific value ("RETURN_TO_2"), but I suspect that when I click the "CREATE" on page 3 the REQUEST value is set to something else.
So I tried saving the value of the REQUEST from page 2 in a page item on page 3 (P3_X) and used "Value of Expression 1 = Expression 2".
I tried "P3_X", ":P3_X", "&P3_X", "v('P3_X')" in Expression 1 and RETURN_TO_2, "RETURN_TO_2" in Expression 2 (I think all possible combination of the to expressions).
None of the combinations does the conditional branch!
Any suggestions as to where I should go next?
Thanks - JRJohn:
I have found it helpful to use the 'Branch to Page Identified by Item (Use Item Name) ' type of branch in such cases.
I specify the the page to return to in an application_item. The application_item itself is populated by a before header application_process. So if 'G_DEST' is the application item then the application_process simply is
:g_DEST:= :app_page_id;In your case the branch defined in page 3 will be of the 'Branch to Page Identified by Item (Use Item Name) ' type and use the application_item 'G_DEST' as the item that holds the page-number that is to be the destination for the branch.
Varad -
Hi,
I have used a conditional branch inside (jms based) ALSB proxy which branches out based on the value of JMS header.The requirement is to shift control to a single branch for multiple values i.e:
If
./ctx:transport/ctx:request/tp:headers/jms:JMSCorrelationID/text() in variable inbound
has value:
GI_1 or GI_2 or GI_3 then route to GI branch
VB then route to VB branch etc
For more than 1 value (i.e GI_1,GI_2,GI_3),control needs to be shifted to a specific branch.
I have tried using OR without success.Any suggestions as to how to implement this.
Thanks.
ArtiHi,
I have used a conditional branch inside (jms based) ALSB proxy which branches out based on the value of JMS header.The requirement is to shift control to a single branch for multiple values i.e:
If
./ctx:transport/ctx:request/tp:headers/jms:JMSCorrelationID/text() in variable inbound
has value:
GI_1 or GI_2 or GI_3 then route to GI branch
VB then route to VB branch etc
For more than 1 value (i.e GI_1,GI_2,GI_3),control needs to be shifted to a specific branch.
I have tried using OR without success.Any suggestions as to how to implement this.
Thanks.
Arti -
Conditional Branching in Oracle Service Bus
Can anyone help me to find one sample project on Conditional Branch in OSB.
The main difficulty I am facing is to fetch the plain text value (which will be used to choose the branch) from an xml node using XPath.
I think one example project on Conditional Branching in OSB will be very much helpful.
Can anyone help me please.No, there is no such constraint to implement Service Key Provider while using HTTPS call, We can also use Username and Password (basic Authentication) method.
-
Conditional Branching with quiz slides not working
Attempting to use conditional branches with quiz slidescauses
the other quiz slides in my presentation to not work correctly. I
am attempting to create a 'test-out' pre-quiz for a segment of
slides in the presentation. I followed the instructions to add
conditional branching per page 46 of the Breeze Presenter User
Guide to obviously no avail. Is there a simple straightfoward
manner in which someone has successfully used conditional branches
with their quiz slides in their presentation?Hi,
I had the same issue.Apparently as of now PDF templates do not support conditional formatting for XML Publisher.
See Tim Dexter's response to my query at the bottom of this thread...
Re: Using the '%' operator in microsoft word template builder for XMLP
I could get some conditional formatting to work on the pdf template but only for the form field font,size and styles using Javascript, but I don't think there is a way to display values for the form field based on an if condition...
Lavina -
Conditional Branch Node in OSB
Hi There,
I'm trying to set a Conditional Branch in the beginning of my Proxy Service, i'm trying to compare to fields of the body, but when i build the xpath to compare this 2 fields i'm obtaining a compilation error.
My xpath line is :
fn:compare(./cre:Trace_PM/trac:Trace_PM/trac:traceLevel/text(), ./cre:Trace_PM/cre:Level/text())
And the error is :
XPath expression invalid, not a selection: declare namespace trac = 'http://www.ferrovial.es/XSD/Trace';
declare namespace cre = 'http://www.ferrovial.es/XSD/CreateTrace_PM';
declare namespace jca = 'http://www.bea.com/wli/sb/transports/jca';
declare namespace wsp = 'http://schemas.xmlsoap.org/ws/2004/09/policy';
declare namespace jms = 'http://www.bea.com/wli/sb/transports/jms';
declare namespace wsa05 = 'http://www.w3.org/2005/08/addressing';
declare namespace tp = 'http://www.bea.com/wli/sb/transports';
declare namespace jejb = 'http://www.bea.com/wli/sb/transports/jejb';
declare namespace xs = 'http://www.w3.org/2001/XMLSchema';
declare namespace sftp = 'http://www.bea.com/wli/sb/transports/sftp';
declare namespace flow = 'http://www.bea.com/alsb/flow/transport';
declare namespace soap-env = 'http://schemas.xmlsoap.org/soap/envelope/';
declare namespace wsu = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd';
declare namespace dsp = 'http://www.bea.com/dsp/transport/sb';
declare namespace ejb = 'http://www.bea.com/wli/sb/transports/ejb';
declare namespace wsa = 'http://schemas.xmlsoap.org/ws/2004/08/addressing';
declare namespace bpel-10g = 'http://www.bea.com/wli/sb/transports/bpel10g';
declare namespace tuxedo = 'http://www.bea.com/wli/sb/transports/tuxedo';
declare namespace file = 'http://www.bea.com/wli/sb/transports/file';
declare namespace ctx = 'http://www.bea.com/wli/sb/context';
declare namespace fn = 'http://www.w3.org/2004/07/xpath-functions';
declare namespace soap12-enc = 'http://www.w3.org/2003/05/soap-encoding';
declare namespace soap12-env = 'http://www.w3.org/2003/05/soap-envelope';
declare namespace fn-bea = 'http://www.bea.com/xquery/xquery-functions';
declare namespace ws = 'http://www.bea.com/wli/sb/transports/ws';
declare namespace soa-direct = 'http://www.bea.com/wli/sb/transports/soa';
declare namespace http = 'http://www.bea.com/wli/sb/transports/http';
declare namespace email = 'http://www.bea.com/wli/sb/transports/email';
declare namespace ftp = 'http://www.bea.com/wli/sb/transports/ftp';
declare namespace sb = 'http://www.bea.com/wli/sb/transports/sb';
declare namespace xsd = 'http://www.w3.org/2001/XMLSchema';
declare namespace soap-enc = 'http://schemas.xmlsoap.org/soap/encoding/';
declare namespace xsi = 'http://www.w3.org/2001/XMLSchema-instance';
fn:compare(./cre:Trace_PM/trac:Trace_PM/trac:traceLevel/text(), ./cre:Trace_PM/cre:Level/text()).
I was checking in the forum and i found a similiar issue but i saw that it was not answered. Do you know which is the reason to this issue in conditional branchs on OSB?
Regards
YuriHi Yuri,
From the OSB documentation -
Conditional branching is driven by a lookup table with each branch tagged with a simple, but unique, string value. A variable in the message context is designated as the lookup variable for that node, and at run time, its value is used to determine which branch to follow. If no branch matches the value of the lookup variable, the default branch is followed. You should design the proxy service in such a way that the value of the lookup variable is set before reaching the branch node.Does your case fulfill above criteria? Please let us know your use case in detail.
Regards,
Anuj
Maybe you are looking for
-
APP problem- setting off debit and credit items of a particular account
Hi, We have configured APP for vendors. Vendor is having 2 line items as open: Invoice- Rs 10000 Down payment (posted thru special GL) - Rs 3000 System always pays the invoice amount of Rs 10000/-. Could someone please tell me how can we make a payme
-
How to add a report template to the template wizard?
Dear All, I built a new report in BPC, and want to use it as the report template. I did following steps: 1)change the "templaversion" in application set parameters from 15 to 16 (i.e, add a template) 2)save my report to etools--save dynamic templats;
-
Qosmio G20: How to change the DVD region code?
My DVD is locked into region 1 is there anyway to fix this because I need it to be on region 2. I have been using it on the correct region which is 2 but for some unknown reason it has locked onto region 1 not allowing me to make any changes.
-
Are there any cs4 source files anywhere for a simple mp3 player? I looked in the components for a mediaplayer component and I don't see it.
-
Hello, When changing LAFs, I can't seem to get a JTree in my app to follow when it comes to the selected item. No matter what LAF I use, the selected item color is always the light blue that is part of the metal theme. Here is a screenshot to demonst