Question

Agents and agents schedule

Hi ,

I have few queries on agents , looking for someone to provide response for the same

1. I have a standard agents which runs on 4 nodes and agents has pick records in database table like out of 2000 records agent in node1 has to pick first 500 records and work , agent in node2 next 500 records, node 3 next 500 records node 4 last 500 records . How can we do this ?is there any way possible where agent can acquire lock on first 500 records?

2. I have an agent which should run daily from 10:00 to 12:00 and from 18:00 to 22 :00 . how to do using using single agent ?

Comments

Keep up to date on this post and subscribe to comments

Pega
August 12, 2019 - 8:44am

Hi,

For the first requirement,you can try to set the max records to process as 500 so that,each node will process only 500 requests in one attempt and as the agent will be running in all the 4 nodes,each node will process 500 requests each.

I don't think the second requirement can be achieved using single agent configuration.

August 12, 2019 - 10:03am

Hi 

1. We can use a advance agent which will pick the item from and queue it for Node1/2/3/4 standard agent respectively.

2. You need to create two different agents.

Thanks

August 12, 2019 - 11:48am

Hi,

1. Inside the activity, you can configure X (Say 500) as maxium records fetched & processed at a time. In Agent rule, you can tick "Delay Next run of agent the cluster by specified time period" & specify the time period you expect to complete X records.

2. We couldn't configure this in agent rule. Instead, you can configure these restriction on Activity.

Regards,

Boopathi Balu