Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Extra line visible at end of screenflow



Extra line is visible at the end of the screenflow when all the upcoming assignments are hidden.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a screenflow.
  2. Add a few assignments to the screenflow.
  3. Add a decision shape with one connector to the End shape and another to the assignment. The connector to the End shape must have a When condition with True and the other with Else.

Root Cause

A defect in Pegasystems’ code or rules.

While generating the HTML code for assignment names and links, the condition which checked if all the future assignments were hidden was missing. Therefore, the extra line was visible at the end of the screenflow.


Perform the following local-change:
  1. Customize the screenflow harness into a custom ruleset.
  2. In the Scripts & Styles tab of the screenflow harness, add a new JavaScript.
  3. Create a new JavaScipt to include the below code in the screenflow harness.

$(window).load(function() {
var elem = document.getElementById("ScreenFlowTabs");
var lis = elem.getElementsByTagName("LI");
for(var i=lis.length-1;i>=0;i--){
if(lis[i].getAttribute("class") && lis[i].getAttribute("class").includes("hidden")){
lis[i].className += "ie8-last-child";

Published February 13, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us