on 12-23-2009 12:51 PM
Hi,
Suppose I have an IDoc structure like
IDOC
- ZSEG1 |
-
Field1
-
Field2
Here, Field2 is option (0..1)
other fields may or may not be optional (depends on the circumstance).
I want an XPath expression that can check whether it exists.
If so, then another XPath should be used that examines its content and makes a decision based on value.
How do I do this in Expression Editor in PI 7.1 ?
Cheers,
Earlence
> I want an XPath expression that can check whether it exists.
> If so, then another XPath should be used that examines its content and makes a decision based on value.
You can try with this one...
/p1:ZSEG1[Field2 ="your value"]
Note: Use your actual x-path.
And in the conditions editor use Operator EX ( exists ), which I gues will work for both the requirements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.