Question1Replies183Views NagaSanthoshKumaA Member since 2015 8 posts Amazon Posted: 4 years agoLast activity: 4 years 6 months ago Closed Solved How to know if an activity is triggered from UI or via agentHi,Is there any way to know if the call to an activity is originated from UI or via batch?what would be the value available pxThread.pyUserType when the activity is called by agent?-Santhosh User Interface ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Accepted Solution Posted: 4 years agoJoelMcLeish PEGA replied to NagaSanthoshKumaAThere's an OOTB when rule called inBatchRequestor, alternately the function this rule uses called isBatchRequestor.Thread type, according to it's history will either be User or Developer; it's the requestor that will dictate whether it is Batch, or Browser based rather than the thread.