on 01-10-2009 12:03 PM
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?
Answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
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.