cancel
Showing results for 
Search instead for 
Did you mean: 

Can we set a default value for the container variable in BPM?

Former Member
0 Kudos

Can we set a default value for the container variable.?

Suppose if i have a loop step and i have given a container variable i=5 as end condition.What value will it take during its first execution?Can we set the value for container before a recieve step?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Answered

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

Define Container Variable of Type integer and Category Simple Type .Use Condtion in Loop.

In Container Operation Step Assign value and Use Expression to

Increase or Decrease Valus according to your operation.

look Pattern 4 in this blog to understand Container Operation

/people/sharathchandra.girmaji/blog/2008/09/11/bpm-with-patterns-explained-part-1

prateek
Active Contributor
0 Kudos

Its not required to set the counter value before receive step. e.g. for receiving 5 files using the same receive step, create a loop step working on counter -> Receive step -> Container step to collect the message -> Container Opertion step to assign the value and append 1 to increment the counter -> End loop.

Regards,

Prateek

Former Member
0 Kudos

Thanks for the answer

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>Can we set the value for container before a recieve step?

if the receive step is the first step I'm affraid we cannot do it

Regards,

Michal Krawczyk