Dear Incontrol,
I'm trying to open the input of a source again while refering to a previous content.
So:
if(
Content([Queue]) > PREVIOUSCONTENT([Queue]), OpenInput(in(1,[Source]))
)
My question is: what is the code of 4DScript to refer to a previous amount of content (PREVIOUSCONTENT)?
I'm looking forward to your help
Liedacil
Previous Content
Re: Previous Content
Hello Liedacil,
What do you exactly mean by PreviousContent with respect to (current) content. Do you mean previous as in a time difference (current content vs. content 5 minutes ago) or a state difference (current content vs. content before items was added/removed) of the Queue?
If it is the last option, then I would try opening the source on the entry or exit trigger of the queue. Every time a product enters/exits the queue, the source will be opened again.
I hope this answers your question, if not, please add more details of your model and the idea behind it.
Kind regards,
Menno
What do you exactly mean by PreviousContent with respect to (current) content. Do you mean previous as in a time difference (current content vs. content 5 minutes ago) or a state difference (current content vs. content before items was added/removed) of the Queue?
If it is the last option, then I would try opening the source on the entry or exit trigger of the queue. Every time a product enters/exits the queue, the source will be opened again.
I hope this answers your question, if not, please add more details of your model and the idea behind it.
Kind regards,
Menno