Discussion474Views×Close popoverJon Garfunkel (JonnyGar) BNY Mellon Vice President, BPM CoE BNY Mellon US View Profile JonnyGar Member since 2009 91 posts BNY Mellon Posted: March 11, 2015Last activity: March 11, 2015Posted: 11 Mar 2015 13:42 EDTLast activity: 11 Mar 2015 13:42 EDT 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.