Hi
@Sanaa FallahI will try to explain the concept of the "lock items" easily.
The idea of locking and item when you start working with it is to prevent other Processes to work with it at the same time. (At this point, forget the tags, priority and data, and focus in the idea of the status key)
Imagine that you have one Digital Worker just to populate the Queue. And also have multiple Digital Workers (i.e. DW1, DW2 and DW3) working in the same Queue. When the DW1 take an item to work with it, this lock the item to prevent the DW2 and DW3 to work the same item.Then, if the DW2 request a new item in the Queue (Get Next Item function), this return the next "not locked" item.
Now... Tags and priorities... see this like "extra information" that you can put in an Item. Thinking in the before scenario. You will probably want to put your DW1 to work the highest priority, and the DW2 and DW3 for the rest of the priorities. If you inform a "Priority" in the item, then you can filter it when you get the next item in the Queue.
Hope this clarify your questions.
See you in the community, bye
🙂
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
634726270
------------------------------