Discussion462Views JonnyGar Member since 2009 91 posts BNY Mellon Posted: 5 years agoLast activity: 5 years 7 months ago Closed Referring to non-existing Step Page in ActivityWhat happens, in a activity at runtime, if the named StepPage doesn't exist?It uses the primary page -- and doesn't make any mention of this exception(through v7.1.5)This is sloppy coding. It should be logged at runtime. And it can be, quite simply, by adding the line in red below to the generated Java:ClipboardPage myStepPage = tools.getStepPage(); String pz_14 = "pyWorkPage"; thisStepPage = tools.findPage(pz_14, true); if (thisStepPage == null) oLog.warn("Activity Work.ListenerActivity, step 12 refers to non-existent page " + pz_14 + "; Primary page is used."); PRStackFrame pz_StackFrame12_circum0 = pega .pushStackFrame( null, thisStepPage, false, false, PRStackFrame.Type.ACTIVITY_STEP, "RULE-OBJ-ACTIVITY WORK LISTENERACTIVITY #20150304T202524.906 GMT Step: 12 Circum: 0"); System Administration ×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 Discussion, please write a new Discussion.