cancel
Showing results for 
Search instead for 
Did you mean: 

Container Operatrion in BPM

Former Member
0 Kudos

Hi gurus,

>> How to initialize a container variable in container operation that is not used in mapping?

Regards,

Dhayanandh .S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Riyaz,

Our Container variable which is to be used in Container Operation is an abstract interface and not a simple variable.

Regards,

Dhayanandh .S

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Dhayanandh,

Its not possible to change a message by using a container operation.

You need to use transformation step. Consider using transformation step with same structure on source and target side and a mapping program to add default values.

Regards,

Riyaz

Former Member
0 Kudos

Thanks Riyaz,

We too preceded with the same way,is there any other option of flow without transformation?

Regards,

Dhayanandh .S

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dhayanandh ,

just use a containeroperation-step and assign a value.

regards Mario

former_member182455
Active Contributor
0 Kudos

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