Executing queue items on dedicated resources

soonerorlater

New Member
Hello everyone!
My question is about assigning specific VMs(resources) to specific work items.

Scenario:
Queue name: Queue1
Process name: MainProcess1
VM1 - assigned to credential1
VM2,3- assigned to credential2
100 items in queue in pending status
Some queue items have tag as ‘Raw’ and some items have tag as ‘Jng’
Question:
Tags with Raw should be run in VM1
Tags will Jng should always run in VM2 and 3

How would we go about designing the solution?
thanks
 

gil.silva

Active Member
Scenario:
Queue name: Queue1
Process name: MainProcess1
VM1 - assigned to credential1
VM2,3- assigned to credential2
100 items in queue in pending status
Some queue items have tag as ‘Raw’ and some items have tag as ‘Jng’
Question:
Tags with Raw should be run in VM1
Tags will Jng should always run in VM2 and 3
Hello,

In the action Get Next Item, you have the field "Tags". There, you should put a data item - session variable with the type Text.
This session variable should be incorporated in the Start inputs of your Main Page.
When you set your tasks, you need to define the process inputs and according to the machine you use, you can set the tag name you wish.
 

Ro0696

New Member
Hello everyone!
My question is about assigning specific VMs(resources) to specific work items.

Scenario:
Queue name: Queue1
Process name: MainProcess1
VM1 - assigned to credential1
VM2,3- assigned to credential2
100 items in queue in pending status
Some queue items have tag as ‘Raw’ and some items have tag as ‘Jng’
Question:
Tags with Raw should be run in VM1
Tags will Jng should always run in VM2 and 3

How would we go about designing the solution?
thanks

If you don't want to use session variable then another way is using GetResourceName() function from Environment in calculation stage. You could have a variable for tag which will be passed in Get Next Item stage. Before that you could have a decision/choice stage where you will check for Vdi name and set the tag variable accordingly.
 
Top