Hi Everyone,
I have a field orderType which can have any value like customer , customer order , cust order etc.
The allowed valued for order type are customer , cut , install , HTYR,… etc.
How can i check if the orderType received in input is the same as allowed list.
I have tried using indexOf service but it fails in the below case
input - customer order
configured allowed type - customer , cut , install , HTYR, GTYU, UITO, UTYFST
pub.string:indexOf gives me output as positive , here 1 , as it takes customer as a value and shows the index of customer , hence it fails . because the actual input is ‘customer order’ which should not be allowed
Kindly suggest me a solution.
Appreciate a quick response.
Thanks
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services