I have a serious problem with a content statement in a trigger on exit in a queue.
The situation: I would like to perform a certain statement in a trigger on exit of a queue when the queue is going to be empty. The problem is that although the queue has over 400 products, my statement tells me, that there are no products in it.
Code: Select all
do(
if(
Content(c)<1,
do(...),
do(...)
)
)
Code: Select all
do(
if(
Content(c)<1,
Trace(string(content(c)))
)
)
If I try
Code: Select all
Trace(content(c))
I do not see the problem, why the first two statements restunr the wrong number of products?
Thanks for your help.
Alex