Script to mark all private notes as public

Script to mark all private notes as public

Use case:
Once a request is resolved all the private notes should be made public (requester shall view).

Prerequisites:
2. functions.py :  This package consists of all the functions that are used to handle the standard requirements of the customer.  Most repeated requirements are written as separate functions.  Depending on our usecase, we can include these functions in our script. 
3. configuration.json : This file maintains the configuration details of the installed server.  

Execution steps:    
1.  Extract the ZIP file under ..\ManageEngine\Servicedesk\integration\custom_scripts - folder.
2.  Edit the configuration.json and update the values.
3.  This Script can be configured as a custom trigger, which would get invoked right-away when a condition is met or you can configure the same script as a request custom menu, which would get invoked only when you invoke the menu manually from the Request Details Page. This is something that needs to be set depending on your requirement.
4.  For Custom Triggers:  Go to Admin > Custom Trigger > give a trigger name > execute script > py mark_notes_public.py $COMPLETE_V3_JSON_FILE and set the criteria as "Impact=High"
5.  For Request Custom Menu: Go to Admin > Request Custom Menu > give a menu name > Action Type : execute script > py mark_notes_public.py $COMPLETE_V3_JSON_FILE. Invoke this script from Request Details page > Actions > Menu Name.

                  New to ADSelfService Plus?

                    • Related Articles

                    • How Public and Private Solutions work

                      ServiceDesk Plus MSP allows you to publish knowledge base solutions as either public (available for all requesters and technicians) or private (accessible only by technicians). To make a solution public, while adding/editing the solution select the ...
                    • How Public and Private solutions work?

                      ServiceDesk Plus allows you to publish knowledge base solutions as either public (available for all requesters and technicians) or private (accessible only by technicians). To make a solution public, while adding/editing the solution select the ...
                    • Script to Mark conversations with Requester email not in from, to or cc as Private

                      Requirement : Any conversation in which the requester's email is not present in from, to or cc must be marked as a private conversation ( Requester of the request will not be able to view this reply ) If an external user replies to a request, the ...
                    • Script for hiding an option "Show this note to Requester" while adding Notes - For Technician Login

                      Compatible for 10500 Build * Stop Servicedeskplus-msp application service. * Navigate to [SDP_MSP-Home] > custom > scripts take a backup of existing CustomScripts.js file. * Use the attached CustomScripts.js file and replace it under [SDP_MSP-Home] > ...
                    • Query to list out the notes added to the tickets

                      QUERY: To list of the notes added to the tickets  while generating report report SELECT  ti.FIRST_NAME AS "Support Rep", wo.WORKORDERID AS "Request ID", longtodate(wo.CREATEDTIME) AS "Created Time", wo.TITLE AS "Subject", aau.FIRST_NAME AS "Contact", ...