on 12-21-2006 8:42 AM
HI all
I´m developing a BPM, this has the following steps:
1º
Reciver Step
: this is to read a file , comunication channel type file.transformation Step
: maps the MT of the file to a new MTSend step
: send syncronously the result of the the map.Using an ABAP proxy. XI adapter.Switch step
: compares de the value of the result of the syncronous call, with a constant.First branch Send Step to write a file
Second branch nothing.
My question is? Do i have to insert something before the switch. Because i cannot activate the BPM, In the SXI_CACHE i can see and error that says that the value that i´m using to compare the value it is not an object of the payload.
Any idea?
Many thanks
Noelia
Hi all many thanks for your effort in yours answers. It was solved by the note 890760.
this note is implemented in SP 16.But I´m on SP15.
Regards
Noelia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The constant that you are comparing the response value with, must be a string.
Make sure you have specified a String as the data type for the constant in the condition editor.
Regards,
Smitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This has something to do in your condition editor...
For the other branch also specify a confition .. which will be reverese of the first condition..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the value that i´m using to compare the value it is not an object of the payload.
The response interface that you are using is wrong.
Make sure that the response interface specified in the container is correct.
Please post the exact error that you see, so that we can get a better picture of the issue.
Have you activated this bpm before this error? You should not be able to view your bpm data in sxi_cache else.
Regards,
Smitha.
thanks for your answer
I cannot post the error becasue my lenguage is Spanish but i have translate it.
the response is correct.
I´m comparing in a switch condition the container of the response to a constant.
DO I have to create a container for the constant?
I don´t Know if i have activated it before, I didn´t execute the sxi_cache until my BPM wasn´t not executing.
Do you think thin error could came from the directory instead of the repositpy? I didn´t check my configuration scenario.
Thanks
Noelia
Hi,
You need to compare a field of the response to a constant and not the container.
Hence the error.
You need to specify the XPATH to the field at the left had side, a condition (such as =, != etc) and a constant (which is a string) on the right hand side.
Ex: Header/Child1/Field1 = '1'
Regards,
Smitha.
Hi,
Last try...
salida_proxy./p1:MT_salidaproxy/row/valor = 0
In the condition editor:
When you do a f4 for the left operanfd text box:
The expression editor opens:
You need to click on the "Interface Variable" radio button and select your container salida_proxy and prove the correct xpath.
Make sure that the Type specified next to the xpath in the expression editor is String.
A f4 in the right operand text box opens a expression ediote, where:
You need to click on the constant radio button, and provide the constant 0.
Again make sure that the xsd trype is String.
In case all this has been done perfectly, then try deleting the switch and recreating it again. You never know, this might do the trick!
Regards,
Smitha.
Message was edited by:
Smitha Rao
Hi,
Have you done 'check' in Integration Process window?
Wat is the value u r giving in the left hand side in the condition? Is it a element in the response from proxy?
Regards,
P.Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you done 'check' in Integration Process window?</i>I did an it says:
information container element "Back of proxy" in "Send" (send sync) step is initialized but not used
+Wat is the value u r giving in the left hand side in
the condition? Is it a element in the response from
proxy?+
Yes i´m giving left value of the response of the proxy and right a constant.
Many thanks for your help!!!
Regards
Noelia
Hi,
I dont think that's going to be a problem. We can leave the otherwise branch empty.
Check if the 'Back of Proxy' and the message type that proxy sends are similar.
I think its the properties in the 'sync send' step that is missing.
Check the synchronous interface mapping that u have chosen in send(sync) is correct.
Regards,
P.Venkat
User | Count |
---|---|
85 | |
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.