on 07-17-2008 7:50 AM
Hi gurus,
>> How to initialize a container variable in container operation that is not used in mapping?
Regards,
Dhayanandh .S
Hi,
You can use set following values in the container operation properties-
Target = name of container variable say index
Operation = Assign
Expression = '0' or the initial value that you want to assign to the container variable
The variable will be assigned values even if it is not used in mapping, only that a warning might get generated which you can safely ignore.
Regards,
Riyaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhayanandh,
It doesn't really matter if you use simple type or interface variable. You can also assign the abstract interface to the target. Only point to note is that both Target and Expression should be of the same Type.
If you have Multiline container variable, you can also use Append instead of Assign.
Regards,
Riyaz
Hi Riyaz,
Thanks for your Response.We use the message of Abstact interface which is a wrapper of four messages, In that the fourth message has a default value which should be assigned to the same target.
But the problem is, it does not allow us to choose the Fourth message at target,eventhough the expression is chosen as default value of fourth message.
Purpose:
With this default value the transformation would validate the condition and send it to send step.
Issue:
As we are unable to load the default value in container operation we are unable to achieve the strategy.
Regards,
Dhayanandh .S
Hi Dhayanandh,
I doubt if there is any alternative. But if transformation step solves the issue, whats bothering you? Is it creating a performance bottleneck?
If performance is the concern, I would suggest to do the transformation outside BPM if possible. i.e. remove the transformation step for default values from BPM and do that mapping after the BPM. You can define a separate interface mapping and reference it in the interface determination in ID.
Regards,
Riyaz
Hi Riyaz,
Thanks for your Point.I agree with your suggestion but the Interface mapping done in ID would require proper routing profile.
This Message which wrapps 4 entites would not have any channel as each entity in the message is
1.RFC Request
2.SOAP Request
3.SOAP Response
4.Status
Hence message would not be handled at the outer stretch.Even though we optimize to have transformation in.
If possible if found any alternative let us know
Regards,
Dhayanandh .S
Hi Dhayanandh ,
just use a containeroperation-step and assign a value.
regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi mario,
Container,
Defines the data for a business process and to enable data to be transferred between the individual steps of the business process.
consists of an unlimited number of container elements.
Container elements ( Variable declaration)
Consists of a name to address data in the process
Can be typed to
*Simple XSD ypes :XSD:data,XSD:time,XSD:integer, XSD:string.
*Abstract interface
*Receiver
*Can be multiline ( a vector of the types above)
Regards
Srinivasreddy
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.