3 Replies Latest reply on Sep 22, 2017 2:17 AM by AlasdairRobertson

    Display Journal Notes in different colors

    AAlonz Rookie

      I would like for notes created by owner, customer and autogenerated to be in different colors.

      any ideas

        • 1. Re: Display Journal Notes in different colors
          AlasdairRobertson ITSMMVPGroup

          You can add different styles to the journal lists that will colour code each row based upon a criteria.  The easiest way to capture which of the attributes to colour on is to add a new field (AC_ColourFlag) to Journal and every time a note (Journal.Note) or email (Journal.Email) is added set the field accordingly.  For example set you new field to AutoGenterated if it is an email sent out or if a note is added by the customer it will set it to Customer.

           

          I used an editing save rule on Journal.Email:

           

          $(if IsAutoGenerated

            then "AutoGenerated"

            else if CreatedBy == [Incident#.]Owner

                 then "Owner"

                 else if CreatedBy == [Incident#.]LoginId then "Customer" else "")

           

           

          You can play with this for Notes (there is no AutoGenerated flag so remove that part)

           

          You can then use a style expression similar to the one below on the Journal List to highlight rows based upon your new field.

           

          $(if AC_ColourFlag == "Autogenerated"

            then "IncidentSLANormal"

            else if AC_ColourFlag == "Customer"

                 then "IncidentEscalationbreach"

                 else if AC_ColourFlag == "Owner"

                      then "IncidentSLAThirdEscalation"

                      else "")

           

          So:

          Owner = Yellow

          AutoGenerated: Orange

          Customer: Red

           

           

          I would use the Style editor to pick some nicer colour schemes.

          1 of 1 people found this helpful
          • 2. Re: Display Journal Notes in different colors
            AAlonz Rookie

            i would like for the color to be different on the Incident Detail Form so that our techs can easily see when a note/email is created by a customer and by a owner.

            • 3. Re: Display Journal Notes in different colors
              AlasdairRobertson ITSMMVPGroup

              I dont think that is possible the setup of that part in the Flex Settings only allows for a single style as far as I can see: