on 01-23-2007 2:31 PM
Hi everybody!
In my business process I have a decision step which should end the process if a synchronous send step does not yield a result.
I thought this could be achieved using an XPATH syntax like so:
count(/p1:data/p1:records/p1:PKEY)
Using a container operation I assign the result of this count to a variable. However, this XPATH expression yields 0 - regardless of the number of records received. What am I doing wrong?
Regards, Joerg
Hi,
it has to work but the xpath needs to be used <b>correctly:</b>
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Solved the problem myself. Unfortunately I couldn't get the XPATH right. So I just created a simple mapping which counts the number of records, added a transformation step to my BP and used the result in a condition step to end the process if the count was zero.
Thanx for the help, though!
Regards, Joerg
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.