cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Queues in BPM

Former Member
0 Kudos

Hey,

In case of multiple queues in BPM.

say for instance multiple queues(random)

When we check in SXI_MONITOR, in the QueueID column we get :

XBPE_TaskId_No_QueueId.

Please can you tell me what is the significance of "No" in the above QueueId

normally its 1 or 2.

can you also tell me how it affects the queue behavior.

regards,

Milan

Accepted Solutions (0)

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

I think that may correspontd to the BPM instance number the queue is serving. As u have chosen the randon assignment, suppose the queue first provides the message to instance1 and while this instance is waiting for some message, the same queue is used to send message to instance2, then the "No" may corresopnd to the instance no.

Not sure about it. Just a guess

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek.

I have 3 instances running but each have the same No i.e. 2.

neways thanks for the reply.

prateek
Active Contributor
0 Kudos

I hope u r not using correlation when using Random option. Can u elaborate a bit on ur current scenario (to understand no of instances being created). Actually I dont have XI server access right now so cant actually check it.

Regards,

Prateek

Former Member
0 Kudos

Hi,

Yes Prateek i am using correlation.

i just wanted to check the behavior of multiple random queues with respect to correlation.

First, when i ran the scenario it was going in to sysfail, which was expected. This was when the no=1.

Now, when i am running the scenario no=2 and the correlation is working fine with multiple queues random.

so i am not able to conclude.

regards,

Milan

prateek
Active Contributor
0 Kudos

Ohh.. playing with BPM

Actually in my opinion, to understand the pattern of "no", u should try and run correct implementation first. i.e., the random queue assignment shouldn't be used with correlation as it is not fixed that which queue will be delivering the data. Use random option for some Split message cases. Then check the value of "no". And if u want to use correlation, try with Content-based distribution instead of random. This may help u in understanding correct patterns of "no".

Regards,

Prateek

Former Member
0 Kudos

Prateek that is what i have done.

two files are picked from the file adapter they are merged and placed back on the ftp.

Now this scenario was working as expected when the no was 1. (i.e it went into sysfail, when both the files of the same instance entered different queues)

but in subsequent runs, when no was 2, it started working as i have explained. (i.e. it worked absolutely fine without getting into sysfail)

I have not done any changes in the configuration it happened automatically.

so i am not able to understand the phenomena.

regards,

Milan

Former Member
0 Kudos

Hi,

Not sure from which SP pack, but one of the recent ones after SP 14, in the Send Step you have a new property called QueueName . Here you can give the Queue Name and thereby all messages are sent to the same queue.

Alternatlively, Select the Maintain Interface Order at Runtime in the interface determination and the desired functionality is obtained

Double click on the SYSFAIL in the queue monitoring and check for the error message. you can activate the queue also for reprocessing. Also in ST22 you should able to see some abap dumps.

Regards,

Surya