Question 3 Replies 45 Views × Close popover Basil (Vasilii) Pozdeev (vaspoz) BPM Company Senior System Architect BPM Company NL View Profile Send Message vaspoz Member since 2016 14 posts BPM Company Posted: June 3, 2020 Last activity: June 5, 2020 Posted: 3 Jun 2020 12:07 EDT Last activity: 5 Jun 2020 12:56 EDT Force agent to execute Hi all, Does anyone know a way to force an agent to execute? I'm writing a test scenario in an activity (TEST_ACTIVITY). It runs another activity (let's name it THE_ACTIVITY) which has Queue-For-Agent step. And immediately after calling THE_ACTIVITY I have to use step Wait (30 seconds, as a default minimum time). Is there any way I could programmatically trigger an agent to be executed? Pega Platform 8.1.3 System Administration Cross-Industry System Administrator Share × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Posted: 11 months ago Posted: 4 Jun 2020 12:08 EDT × Close popover Marc Lasserre (MarcLasserre_GCS) PEGA Principal Software Solutions Engineer Pegasystems Inc. FR View Profile Send Message MarcLasserre_GCS PEGA replied to vaspoz Hello, Well I guess if you need to execute it immediately you shouldn't be using an agent maybe. Can you just execute the work within your second activity instead? Posted: 11 months ago Posted: 5 Jun 2020 6:33 EDT × Close popover Basil (Vasilii) Pozdeev (vaspoz) BPM Company Senior System Architect BPM Company NL View Profile Send Message vaspoz BPM Company replied to MarcLasserre_GCS No, that's the problem. The agent is actually needed. The only reason why I want to trigger it immediately is because of the test case. Posted: 11 months ago Posted: 5 Jun 2020 12:56 EDT × Close popover Jim Kelly (JimKelly_GCS) PEGA Principal Software Solutions Engineer Pegasystems Inc. US View Profile Send Message JimKelly_GCS PEGA replied to vaspoz You might want to review the agent apis in pega api System Management. There may be something that will fit your use case.