In this post just I want to explain about How to "Restricting set of values on Business Object Using Enumeration Property" for that I took the below Scenario.
This scenario aims to get customer(cid,cno,ccountry) details from Websphere MQ and print those details on console .But here condition is flow has to pick customer details whose country is India or USA or UK (i.e ccountry=India or USA or UK).
If you observe figure1 ,Just I created simple customer BO.
figure1:
In this scenario we need to provide restriction on ccountry field so I selected ccountry field then go to properties.
In Properties enable the only permit certain values option and select enumeration radio button and add values as shown in below figure2 and figure3.
Finally test the flow.
This scenario aims to get customer(cid,cno,ccountry) details from Websphere MQ and print those details on console .But here condition is flow has to pick customer details whose country is India or USA or UK (i.e ccountry=India or USA or UK).
If you observe figure1 ,Just I created simple customer BO.
figure1:
In this scenario we need to provide restriction on ccountry field so I selected ccountry field then go to properties.
In Properties enable the only permit certain values option and select enumeration radio button and add values as shown in below figure2 and figure3.
Finally test the flow.
No comments:
Post a Comment