Question
Cognizant
IN
Last activity: 10 May 2024 4:45 EDT
system runtime context and access grp for Job scheduler are they both doing the same thing?
system runtime context and access grp for Job scheduler are they both doing the same thing?Like why an access grp is required when we already have system runtime context
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 10 May 2024 4:45 EDT
Infosys Limited
IN
Lets say an activity of same name with the similar inheritance class exists in two applications which was defined in the system runtime context applications stack(app1, app2) and you want to execute the activity only from app2 then you can go with the alternate acess group which is pointed to app2.
Maantic Inc
IN
Pegasystems Inc.
CA
All queue processors are rule-resolved against the context specified in the System Runtime Context. When configuring the Queue-For-Processing method in an activity or the Run in Background step in a stage, an alternate access group can be specified. The activity that the queue processor runs can also change the Access Group. An example is the Rule-Test-Suite pzInitiateTestSuiteRun activity executed by the pzInitiateTestSuiteRun queue processor.
If any specific context is required for an activity, select Specify access group to provide the access group.
Cognizant
IN
@RameshSangili but here if we are already having System Runtime context then the activity will also run on the specified applications in ther application stack why to particulary provide an access group
Accepted Solution
Updated: 10 May 2024 4:45 EDT
Infosys Limited
IN
Lets say an activity of same name with the similar inheritance class exists in two applications which was defined in the system runtime context applications stack(app1, app2) and you want to execute the activity only from app2 then you can go with the alternate acess group which is pointed to app2.
Cognizant
IN
@P.Siva.Praveenthank you for elaborating
Infosys Limited
IN
By default pega uses the applications order defined in system runtime conext to resolve the rules to execute the specific JS / QP activities. If you want to execute your JS or QP for the speciic application context then you can configure access group.
For QP, you can choose the alternate access group while queueing either from run in background shape or queue for processing method. For JS you can directly configure in the rule form.