on 01-27-2009 4:58 AM
Hi Experts,
I have one doubt regarding BPM switch condition.
currently i have scenario like in Switch condition i am sending data for two customers and condition mentioned as1000001or 1000002.
if customer 1000001 comes from ECC then for this customer data is sent if 1000002 comes from ECC then for this customer data will be sent.
but now i want to add one more customer number 1000003 in that condition. can i add like
1000001 or 1000002 or 1000003 in that condition or any other validation is required.
Thanks in Advance
bhaskar
Hi Bhaskar,
What I understand from your problem description is that, the switch condition is as;
If the customer number are as 1000001or 1000002, then the data is sent, otherwise some other processing is performed.
And now you need to add the third customer to this condition and make it as 1000001or 1000002 or 1000003. This will work. I dont think you need to have any other additionla checks.
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhaskar,
Yes it is possible to give 3 conditions to a switch but this will be nested switch,
take first switch you check if 1000001 is present and in otherwise part of it you again use one more switch in which you have to give other 2 conditions 1000002 and 1000003.
Thanks
Sunil Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunil.
right now i have for two customers but client needs now for three customers.
how should i write this conditions with or and and statement.
now we have like 1000001 or 1000002.
for three customers how should i write.
we will not get three customers at a time but any one customer will be triggered in ECC side.
can i put the condition in the below way.
1000001 or 1000002 or 1000003
kindly suggest.
thanks
Hi Bhaskar,
I understand what you want to say but in this case you should have something to be executed (like end the process, send the notification) in case non of these values come in payload.
If it is sure that any one of these values will always come in the payload then you can go for it (using OR in between).
Thanks
Sunil Singh
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.