cancel
Showing results for 
Search instead for 
Did you mean: 

ccBPM - can't activate workflow when using expression in Condition editor

Former Member
0 Kudos

Hi,

My workflow (generated by ccBPM) won't be activated when I try to do an IDOC comparison (on DOCNUM), using an index (count), in the ccBPM Condition Editor.

The condition looks like this:

(msgs_receive[count]./HRTRPR01/IDOC/EDI_DC40/DOCNUM = msg_receive./HRTRPR01/IDOC/EDI_DC40/DOCNUM)

.

There seem to be no errors when activating the Integration Process in the Integration Repository, however when looking into the SXI_CACHE, XI Directory cache, my integration process gets return code '99', even after reactivation.

I get this error:

Syntax error in expression Line1 Ext. IDE63443806B4211DBC393F1DE0ACE61FE
The exception occurred (program: CL_SAI_SWF_RULE
Symbol 'CE/KO' expected at position 1 in expression 'count{XSDSIMPLE::xsd:string;}'

.

The only interpretation I make out of this is that it doesn't like my index (count) variable.

Can anything be done to fix this?

I use XI 3.0 SP14

Thanks

Olof Trönnberg

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please can you remove the conditon and see if the scenario is activated with return code 0 then you will know the problem is there.

Check out ways to give complex condtion:

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

Regards

Vijaya

Former Member
0 Kudos

Hi,

return code 99 only appears when I use the XPATH expression, even for simpler expressions like:

(msgs_receive[0].msgs_receive[0]./ns0:HRTRPR01/IDOC/EDI_DC40/DOCNUM = 0000000000012345)

The <i>msgs_receive </i> is a multiline container. Could that be causing the problem? Or is it the expression itself that could be wrong?

Olof

Former Member
0 Kudos

It was supposed to be:

msgs_receive[0]./ns0:HRTRPR01/IDOC/EDI_DC40/DOCNUM = 0000000000012345

agasthuri_doss
Active Contributor
0 Kudos

Hi,

To my Knowledge

>> it the expression itself that could be wrong

YES, ( Can you check the expression )

Regards

Agasthuri Doss

Answers (1)

Answers (1)

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Return code - 99

1) Export parameter might be wrong.

2) Check Oss Notes 901366 & 708338.

3) 99 occurs when there is a mismatch in the mapping

4) 99 occur if all the active correlations are not used.

5) Try this SXI_CACHE select your business process and

click on activate. change the the return code to 02

and upon activating again.

This will help you :

http://help.sap.com/saphelp_bw31/helpdata/en/c6/893bca449311d1893e0000e8323c4f/content.htm

Regards

Agasthuri Doss