Request Stage Progress Bar

Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
edited August 2018 in Cireson Uploads
Its nice to be able to see a quick overview of a Service or Change request process without having to dive into the full activity tree and see what's going on. This is especially useful for End Users who want to see the progress of their request but wouldn't understand the activity structure.

The following extension looks up the stage of all top level activities and display a nice progress bar on the page to indicate these and which one is currently in progress.



Its early stages for now, there's some work needs doing on the styling and a lot more testing, but please give it a go. If you download, please like.

Geoff
Tagged:

Comments

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    @Geoff_Ross - This is pretty slick!  I'm always a fan of highlighting things that ease confusion and frustration for the End User.
  • Adam_DzyackyAdam_Dzyacky Customer Contributor Monkey ✭✭✭✭✭
    Now that is one fantastic customization @Geoff_Ross .
  • Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
    New Version

    Download updated on the original post. I'll move to GitHub soon.
    • Added better handling when there are no activities
    • Added extra pseudo 'Complete' stage
    • Added checks on completed Stages
    • Deals with Work Items with no 'In Progress' activity if you happen to load it between one completing and the next being in progress.

  • John_BeasleyJohn_Beasley Customer IT Monkey ✭
    I cant get this to work with the new version 8.9.4 portal. Is there anything special I need to do ?
  • Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
    Hi John,

    Not that I can think of, just testing myself, what issue are you having?

    Geoff
  • John_BeasleyJohn_Beasley Customer IT Monkey ✭
    I can't get this to show up at all. I have done everything that I can think of. 
  • Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
    Did you have it working before and it broke with an upgrade or have you just implemented?
    Are you setting any errors in the browser? Press F12 to get into the browser's console and check there.
    Does your Request have Activities with Stages?

  • Brian_WiestBrian_Wiest Customer Super IT Monkey ✭✭✭✭✭
    Have you got the GitHub repository yet? Pretty sure I found your user account but don't see this yet. Thanks.
  • Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
    Not quite, its in my backlog. So many things, so little time.
    The zip file above is the latest code, did you want to contribute?
  • John_BeasleyJohn_Beasley Customer IT Monkey ✭
    Im just now trying to implement it. I dont see any errors in the browsers and I do have activities with stages. Not sure what I did wrong lol. 
  • Andreas_VoigtAndreas_Voigt Customer IT Monkey ✭
    Hi there, 
    first of all thats a great feature ! Thats really what my customers would love to have and it would relief the service-desk from a lot of questions regarding the status of the SR^s. 
    But now comes the problems-part...
    Although renaming the given Activity Stages via "Library/List/Activity Stage" the progress-bar somehow falls back to the "original-name".
    I also tried creating new Activity stages, but then the progress-bar -text just turns blank. 
    Please find attached screenshots

    Best regards

    Andreas














  • Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
    Hi @Andreas_Voigt
    How long has it been since you renamed it. IT could be a caching issue?
    Or, I wonder if this is a language thing? You've only renamed it in one language but your portal is set to another language.

    But also, can I ask why you have renamed / re-purposed an out of the box enum? Its better practice to delete these and create your own enums in a custom management pack?

    Geoff
  • Andreas_VoigtAndreas_Voigt Customer IT Monkey ✭
    Hi @Geoff_Ross
    thanks for replying !
    The caching time was something I thougt about as well, I tried it "live". Changed it, went to the SR , refreshed Webpage and checked the result.
    Well, i renamed it because my custom-ones just turned out blank-text-fields. 
    So to test further I tried renaming existing ones.
    I´ll give it a try with the language and the caching-time over the weekend.

    Thanks in advance

    Andreas
  • Andreas_VoigtAndreas_Voigt Customer IT Monkey ✭
    @Geoff_Ross
    Update, after rebuilding numerous caches ( dont know which one did the trick ) it works now with my new custom stages. Thanks a lot
  • Andreas_VoigtAndreas_Voigt Customer IT Monkey ✭


    Hi there, unfortunalty I encountered another tricky Situation.
    As we are working with automated runbook invokes there are couple of situations where These runbooks create sequentiel activitys that include request activities. I already added stages in the script to set the correct stages to both the sequentiell activity and the request activitys.

    But then again the Progress bar doenst Display the "embedded" request actitvitys, but only Shows the wrapping sequentiell activitys stage.

    It would be great if you could give me a hint on how to get the Progress bar to "look" inside the sequentiell activitys, or if changing the existing runbooks and f.e. getting rid of the sequentiell actitivy Container would be the only way.

    Thanks in advance

    Andreas


  • Tom_HendricksTom_Hendricks Customer Super IT Monkey ✭✭✭✭✭
    Just a general thought, but this indicator would work very nicely (obviously at a smaller scale) as a widget in the new ticket headers, potentially.
  • Leigh_KildayLeigh_Kilday Member Ninja IT Monkey ✭✭✭✭
    This is very cool.

    In the latest portal with the flyout header, the stage bar overlaps the WI tabs.

    Is this an issue to be addressed in this code, or the portal header?
  • Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
    Hi @Leigh_Kilday
    It will have to be address here as released code will always trump a community solution. I have already had a play and found the solution, I just need to update this along with a bunch of other updates waiting to happen. Should find time early Jan.
  • Mika_KosunenMika_Kosunen Customer IT Monkey ✭
    Hi, sorry for not undersanding how to implement this in to our portal :(

    Can someone help me with implementing this in to our portal?

    There are 3 files:
    Stages folder => Stages.js
    Add to Custom.js
    Script loader

    Where does Scrip Loader.js-file go? (And do I need to do any modification to the file?)

    Where does Stages.js-file go? I guess I just make folder Stages with stages.js-file in it to the CustomSpace folder but do I need to do any modification to the stages.js-file?

    Add to CustomJS.js-file I understand that it must be put in to custom.js-file, but should the syntax be 
    $.getScript("/CustomSpace/Stages/Stages.js",["/ServiceRequest/","/ChangeRequest/"]);
    instead loadScript("/CustomSpace/Stages/Stages.js",["/ServiceRequest/","/ChangeRequest/"]);

    Thank you very much,
    Mika from Finland

Sign In or Register to comment.