reflex get_messages when: ! empty(requests) {
.....
}
I do not remember that it empties the associated lists.
Do you think there is some change in the extension ?
Thank you in advance
Benoit
--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.
--
reflex access_outside when: cycle > 1 {
and
reflex access_outside when: cycle = 1 {
(Actually the list of message seems to have been partially emptied in the sceond case)
Benoit
Hi there!
Thanks for all the input.
The modified model takes out the central aspect of a call centre, the queuing of communication. The modified code sends only one message.
As the implementation of 'mailbox'/messages as a container implies, communication might happen simultaneously (multiple conversations at once) or the sender has to wait till the receiver is able to answer or will postpone communicating with certain senders. I think this is an everyday aspect of communication.
Yesterday I tried out different strategies to circumvent this problem, but all failed when testing them with a heavy workload (i.e. provoking the simultaneous starting/queueing and ending conversations). Normally these situations happen accidentally - and from time to time my agents got stuck. In the examples supplied I make the overload the rule to demonstrate the problems.
Please refer to https://code.google.com/p/gama-platform/issues/detail?id=1035 for another example of the same issue - it is not connected to empty or length, but must be connected to the internal adding/removing process.
In that example, one can easily crank up the workload and see that it starts failing when messages are added by start_conversation to a non-empty queue from which messages are removed by end_conversation...
Cheers, Achim