on 07-07-2016 9:17 AM
Hi All.
I want to remove some queues which has a value of “END” from the queue, can I have a UDF to achieve this,
Actual Queue list
Expected Queue list
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ramesh,
No need of UDF,Try the below logic.
Thank for your reply.
but here my value is quite strange, i want to remove "END" and i need to keep "Split By each value by value change"
i tired already but ... i need to remove "END" and need to maintain queue also.
please suggest .
Ramesh,
Try this:
for (int i=0;i<inp.length;i++)
{
if(!(inp[i].equals("END")))
result.addValue(inp[i]);
}
take input as queue.
Then after Removecontexts introduce a split By value at the end.
If its not working let us know.
Hi Ramesh!
Regards, Evgeniy.
Yes,Exactly the same.
The same I mentioned add Split by value at the end.
Thanks Eve for the screenshot.
Just to clarify your suggestion 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.