Caravan Business Server>Help>Objects>Queues>
Properties
delete
|
Name
|
delete
|
Text
|
deletes item. aborts actives objects like form mail etc. before deletion.
|
Syntax
|
x(delete)
|
Sample
|
|
|
Caravan Business Server>Help>Objects>Queues>
Properties>
total
|
Name
|
total
|
Text
|
Total items in queue.
|
Syntax
|
x(total)
|
Sample
|
-NA-
|
|
Caravan Business Server>Help>Objects>Queues>
Properties>
name
|
Name
|
name
|
Text
|
Name of the queue.
|
Syntax
|
x(name)
|
Sample
|
-NA-
|
|
Caravan Business Server>Help>Objects>Queues>
Properties>
QueueId
|
Name
|
QueueId
|
Text
|
id of the current item. Since queue is a list, each entry is identified by its queueid
|
Syntax
|
x(queueid)
|
Sample
|
-NA-
|
|
Caravan Business Server>Help>Objects>Queues>
Properties>
priority
|
Name
|
priority
|
Text
|
Priority of the queue entry
In caravan queues the item is not only in a FIFO but also
prioritized, these is a number and lower the value higher
the priority, default is '0'
|
Syntax
|
x(priority)
|
Sample
|
-NA-
|
|
Caravan Business Server>Help>Objects>Queues>
Properties>
wait
|
Name
|
wait
|
Text
|
Time in seconds. For this many seconds the item disappears from queue -- letting other items to go ahead. Eventhandler cannot see items until wait is over.
|
Syntax
|
x(wait)
|
Sample
|
-NA-
|
|
Caravan Business Server>Help>Objects>Queues>
Properties>
type
|
Name
|
type
|
Text
|
The type of the queue item. This property is used to create a multi-threaded eventhandler - one type for each type running the same code.
|
Syntax
|
x(type)
|
Sample
|
-NA-
|
|
Caravan Business Server>Help>Objects>Queues>
Properties>
Item
|
Name
|
Item
|
Text
|
This is the content of the queue entry. It can be a string or a file
|
Syntax
|
<caravan> queue x(myq) x(item)=tbl(recordno);// only the record no is in queue. x(item)=tbl();// whole record is inserted x(item)=myvar();// whole object is inserted x(item)="item";// puts the item into queue </caravan>
|
Sample
|
-NA-
|
|
Caravan Business Server>Help>Objects>Queues>
Properties>
next
|
Name
|
next
|
Text
|
Next item in the queue
|
Syntax
|
|
Sample
|
|
|
Caravan Business Server>Help>Objects>Queues>
Properties>
select
|
Name
|
select
|
Text
|
Can select entries based on its item value. works only when item is "string".
|
Syntax
|
x(select)
|
Sample
|
|
|
Caravan Business Server>Help>Objects>Queues>
Properties>
resume
|
Name
|
resume
|
Text
|
wakes up the corresponding eventhandler that had supended itself using the 'suspend' statement.
|
Syntax
|
x(resume)
|
Sample
|
|
|
Home
Back
|