Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8392

How to model and access a processcontext with a table?

$
0
0

Hello,

 

we are new to BPM and therefore we have the following question:

 

How should we setup a processcontect when we would like to have a table within the processcontect?

I defined a complex type within the XSD file and set the multiplicity to 1..*. So i can define more fields within the complex type and for me my processcontext looks like a table.

 

In one of the next steps i tried to compare one field of the table with index 1 with another value and access the field with the expression string-equals(get(ProcessContext/ComplexType/Field), 1), value) and then the process get`s the following error.

 

Extraction failed java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
com.sap.mapping.lib.execution.api.exception.TExecutionException at
GenericGet( StandardInvocation:invoker )
at ( DeepExpression ) at left(TerminalPart:expression ) at ( BroadMapping )
at TextSame( StandardInvocation:invoker )
at ( DeepExpression ) For more details,
decrease severity of log controller as described in SAP Note 1753560.

 

But in the NetWeaver Administrator "Processadministration" i can see that i have two entries in the ProcessContext/ComplexType. Why is the size 0 instead i can see two entries in the NetWeaver administrator?

 

Best regards,

Timo Renz


Viewing all articles
Browse latest Browse all 8392

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>