Jump to content

Berto2002

Hornbill Users
  • Posts

    1,267
  • Joined

  • Last visited

  • Days Won

    28

Posts posted by Berto2002

  1. I have cases where I want to tally things (e.g. to count how many sub-tickets are created from the Problem record). At the right time, the workflow tries to append a '1' to a field that already contains one or more '1's.

    image.png.f2c5795d30b9d6ec1c1d77003267d40e.png

    image.png.2bc5af28cb379baeb669269181f1d44f.png

    image.png.d5d913cf97e9c062f5efd14baad11552.png

    It doesn't work. I only ever have one '1' in that field. My logica is that it's an integer field, '1' is an integer and the resulting field contents of '11' or '111' are integers so this should work.

    I have another workflow that tallies the number of times a standard change template is used and that does work. The config is the same as above but using Custom G (a text field):

    image.png.eacaa2c3390f1b9ad57d9abf7d724586.png

    My request therefore is why are integers not appending?

    If by design, why?

    If bug, kindly rectify?

     

  2. We use the Cloud node to add Change entries to the Microsoft Office Outlook calendars of some of the stakeholders.

    We've just discovered the entries are starting earlier by one hour; which is not great since the calendar is supposed to tell them the agreed change start time. Silly me, I forgot that the system processes everything in UTC so an adjustment is needed in the (UK) summer months to +1hr now we are in BST.

    I previously implemented the below workflow to make the adjustment. It requires admins once a year to manually re-enter a date in the Workflow to make that 1 hour adjustment if required. Logic is:

    • If date is < AutumnClockChange then go the route for +1 hour for BST
      • This means after October-ish, no extra hour is added
    • At the SpringClockChange we then set the expression date as the AutumClockChange for the new current year
      • This means, from March-ish to October, the extra hour is added

    But the question it whether anyone else has a better idea, please, or to automate this. For example, I wish the UI daylight savings time flag was available to workflow could look-up and act accordingly...

    Thanks

    image.thumb.png.82871285725af651ae1eaeb82e92f13d.png

  3. However I confirm I could go into the Assessments directly (not from the search) and while all the statuses show as active, when opening, they were not so I have re-set as Active and saved and will check next week if this restores the impact assessment outcomes.

    I accept your confirmation that this bug/nuance was inadvertently introduced in a release 😉

     

  4. You could build your own 'repeating' workflow for this so the first Request the user logs would 'spawn' additional requests.

    1. ICF captures first device in field_1 and then it presents option to enter a second device (field_2) and so on up to the limit you would allow in one ticket
    2. Workflow is configured to spawn a build ticket for the details from field_1 and then decide if if field_2 is populated; and if so to spawn another ticket for action
    3. Repeat the above for the same number of these iterations in your workflow as you have options to enter multiple devices in the ICF

    The end result is one ICF spawns as many build requests as you want to provide for. Just tell the users the limit in one ticket.

    You could have this Workflow as stand-alone (so that Request always closes once it's spawned the required number of build tickets) or have it act as the 'parent', collecting and feeding-back the build outcomes from the 'silent child' tickets it spawned

  5. @will.good, @Adrian Simpkins, @HGrigsby, @Gareth Cantrell @EWA would be interested in your thoughts about this.

    @James Ainsworth When I download my two most common workflows (generic incident and generic request), they are 1.5Mb approx in txt file. Visually, see screenshot for how one of these standard workflows looks for reference of what 1.5Mb is (plus one smaller stage for closure). We get through 200 of these a week so are we really talking about 300Mb? Other customers much more of course. I guess database compression etc makes storage much lower but how much lower?

    James, can you please ask Devs is that is the size of a retained BPM against each Request vs it's text file size (or other stats like the percentage of storage taken by a workflow vs the request data itself)? If this is a significant number (and I think it must be if the full integrity of the workflow is maintained for every historical Request), there will be a clear case to enable discarding the workflow/BPM according to a system setting and would likely have it set for 1 year +. Historical tickets for us are really only ever about the Request data and are never looked at in order to see HUD information.

    I would venture that the space saving opportunity here is so significant for HB customers and HB that it may even be worth coding a 'snapshot' view of the HUD which is set as part of the BPM/workflow removal process; so the HUD remains but as a static view.

    I remember at HUG someone mentioned you were considering more about the data retention now the system is maturing; and this could be a great enhancement to put on the list.

    image.thumb.png.718a2546f8a56960909d5352cd6b04cf.png

  6. We've started seeing this now also. Hoping for a patch on this or faster-than-usual release. This is similar to the issue with the Suspend for Asset. These two issues are starting to create the perception in the user base that the product is getting unstable.

    image.png.8c559116bd0d7c186362ea85f22f73d7.png

    • Like 2
  7. Old documentation on storage: Managing Instance Storage Usage - Hornbill which I hope will be migrated over at some point to new KB.

    I think there is an opportunity for an enhancement here @James Ainsworth. At present only the logs seem to be deleted after 7 days but we could set a retention also for the workflow (aka BPM) to be deleted from Completed Requests. Hornbill and customers could save a huge amount of storage (costs) since the BPM config files can be Mb each?

  8. The Workflow instance that is created for a Request is removed, I think along with its log, 7 days after the Request reaches the end, assuming it's not in error. There are quite a few posts around from HB staff confirming this.

    The way to ensure they don't stay around longer is to have a housekeeping regime to check all workflows reach their full and proper end node. Any left in a perpetual state of suspended, hold, or in failed state will stay around forever and use-up storage.

    For example, one of our reports looks for those in closed statue with BPM status of 4 (suspended). If a request is closed and the BPM is not ended then we have a workflow issue so we analyse the requests and then fix the issue allowing a close before it ends and then cancel/manually address the offending tickets.

    image.thumb.png.59cec4ca5e857215906669d51cfc02b0.png

×
×
  • Create New...