Typically, there is dedicated queue for items to be processed by Robotics Runtime. Robotics Runtime, in turn, is able to interact with Pega Platform through API, get assignments from a queue and return back results.
1: For VM(Runtime) to get cases, I need to set Queue type to Robotics Queue in Pega correct (because assign to robotics accept only robotics queue)?
2: Where it is mentioned that this Runtime will get data from which queue? Is this configurable from Pega Robotics studio ?
For question 2 I got my answer from link shared by you, The system runs the logic in the pyGetAccessGroupForRobotByWorkGroup decision table. This decision table maps the access group of the operator ID into which the VM authenticates to the work group that contains the work queues from which the VM obtains its assignments.
I also got one image from one support question. Attached is the image. Please confirm if it can be configured from project configuration from robotics studio.
If both are correct which is good practice ?
3: Suppose my queue is standard queue and I have to extract cases from that queue the only option available is API ? Please correct me if wrong.
4: Is there any other way apart from discussed one to get cases from Pega ?
3. There is only robotic queue available to process assignments by robots. Runtime uses Pega API underneath to receive them.
Technically, there is Pega API calls allowing access to cases and assignments and it is possible to work with REST APIs from robots. However. I have never done this, not aware of potential problems and this is not considered as a best practice.
Very helpful information to me.
I just want to clarify few things related to 4th answer:
1: While defining case flow I use "assign to robotic queue" and set automation name there to run when new case come to queue.
Is this scenario what I explain is RPA or RDA.
I guess its RPA only because when case it triggers robot activity in automation.
Please correct if wrong.
From this point of view, yes, RPA implies using robotic queue.
I would say, first of all, business process defines if you want RDA or RPA. RPA is unattended, runs on dedicated machine and gets assignments from a queue. RDA is running on user machines, involves user interaction and you can call automation from Pre- or Post-processing activity of action flow. RDA can be done within case flow without using robotic queue (see example in the link in my previous comment).