This script automatically applies a default resolution and closes the request. With the Import Sample Script feature, setup is quick and requires no manual coding.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Add Resolution and Close Request
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Request module.
Click New Trigger.
Define the trigger conditions (e.g., Status = Resolved).
Under Actions, choose Execute Custom Function → Auto-Resolve and Close Request.
Save the trigger.
Refer to the screenshot
Automatically close simple or repetitive tickets once marked as resolved.
Applying a standard resolution note for low-effort requests.
Streamlining repetitive closure tasks to improve technician productivity.
This script automatically adds a predefined work log entry to a request. Using the Import Sample Script feature, you can enable it without writing or pasting any code.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Add Default Work Log.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Request module.
Click New Trigger.
Define the trigger conditions (e.g., Status = InProgress).
Under Actions, choose Execute Custom Function → Add Default Work Log.
Save the trigger.
Refer to the screenshot
Add a default troubleshooting entry for common tickets (e.g., "Performed basic checks").
Ensure consistent work log entries for compliance or reporting purposes.
This script validates the resolution field and prevents request updates if the resolution text is shorter than the configured minimum character length. Using the Import Sample Script feature, this setup is quick and code-free.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Validate Resolution Content
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Business Rules
Select the Incident / Service module.
Click New Business Rule.
Define the Rule conditions (e.g., Resolution Content >> is not empty).
Under Actions, choose Execute Custom Function → Validate Resolution Content
Save the rule.
Refer to the screenshot.
Ensure technicians provide adequate resolution details before closing a request
Prevent accidental or incomplete closure of tickets with vague resolution notes
Maintain compliance with internal documentation standards
This script automatically assigns the first-level approver based on the request’s category. It helps streamline approval workflows by dynamically routing approvals without manual intervention.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Dynamic Approvals Based on Category.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Request module.
Click New Trigger.
Define the trigger condition, such as:
• If Category = "Desktop Hardware"
Under Actions, select Execute Custom Function → Dynamic Approvals Based on Category.
Save the trigger.
Refer to the screenshot
Automatically assign the IT Manager as an approver for “Hardware” requests.
Route “Software” or “Access” categories to different department heads.
Reduce delays by ensuring the right person is assigned based on the category.
This script identifies requests with the same subject and merges them into a single request to reduce duplication and improve tracking.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Merge Requests with Similar Subjects.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Request module.
Click New Trigger.
Define the trigger condition, such as:
• Status = Open
Under Actions, select Execute Custom Function → Merge Requests with Similar Subjects.
Save the trigger.
Refer to the screenshot
Merge duplicate tickets logged by multiple users for the same outage.
Consolidate repetitive requests with identical subjects (e.g., “VPN not working”).
Reduce clutter in the request queue and improve response time.
This script prevents a request from being submitted or processed if no attachments are included, ensuring mandatory file submission.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Block Requests without Attachments.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Business Rules
Select the Incident / Service module
Click New Business Rule and define the scope (On Request Creation or On Request Update).
Specify conditions (e.g., Category = "Software").
Under Actions, select Execute Custom Function → Block Requests without Attachments.
Save the rule.
Refer to the screenshot
Enforce that users attach purchase receipts for reimbursement requests.
Prevent hardware/software requests from proceeding without approval documents.
Ensure compliance by requiring supporting documents (e.g., ID proof, forms).
This script blocks the creation of a request and automatically notifies the requester via email, ensuring they are informed about the rejection reason.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Block Request Creation and Notify Requester.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Business Rules
Select the Incident / Service module
Click New Business Rule and define the scope (On Request Creation ).
Specify conditions (e.g., Requester >> Job title >> is not empty ).
Under Actions, select Execute Custom Function → Block Request Creation and Notify Requester.
Save the rule.
Refer to the screenshot
Block requests from users outside of a specific department and notify them.
Prevent creation of requests in restricted categories (e.g., “Financial Approvals”).
Inform requesters via email when their request does not meet submission criteria.
This script adds a system note to indicate that the first response has been sent for the request, helping track SLA compliance and communication timelines.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Mark Note as First Response.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Request module
Click New Trigger and define the actions (On Request Creation or On Request Update).
Define the trigger condition,(e.g., Status changes to In Progress).
Under Actions, select Execute Custom Function → Mark Note as First Response.
Save the trigger.
Refer to the screenshot
Track when the first response SLA has been met.
Add transparency by logging an automatic note visible to all technicians.
Standardize the process of recording the first customer communication.
This script sends an email to the address specified in a custom (additional) field of a request, enabling dynamic notifications.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Send Email from Request Field.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Request module
Click New Trigger and define the actions (On Request Creation or On Request Update).
Define the trigger condition, (e.g., Approval Status = Approved).
Under Actions, select Execute Custom Function → Send Email from Request Field.
Save the trigger.
Refer to the screenshot
Send notifications to a vendor contact email stored in the request.
Automatically notify a manager or department head defined in a custom field.
Ensure task-related updates go directly to external stakeholders.
This script automatically assigns a service SLA to the request based on the selected priority, ensuring accurate response and resolution timelines.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Set Service SLA Based on Priority.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Request module
Click New Trigger and define the actions (On Request Creation or On Request Update).
Define the trigger condition,(e.g., Priority = High).
Under Actions, select Execute Custom Function → Set Service SLA Based on Priority.
Save the trigger.
Refer to the screenshot
Apply a 4-hour SLA to Critical requests.
Assign a 24-hour SLA to High priority tickets.
Standardize SLA handling to ensure consistent response times across priorities.
This script reformats and updates the subject of a request to maintain consistency and improve readability.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Format and Update Subject.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Request module.
Click New Trigger.
Define the trigger condition, such as:
• If Category = "Software"
Under Actions, select Execute Custom Function → Format and Update Subject.
Save the trigger.
Refer to the screenshot
Prefix requests with their category or department (e.g., [HR] Leave Request).
Standardize subjects for tickets created via email integration.
Improve reporting by maintaining a uniform subject structure.
This script automatically cancels all ongoing tasks linked to a request when the request status is changed to Cancelled, ensuring consistency and avoiding redundant work.
Navigate to Admin → Developer Space → Custom Functions → Request.
Click Import Sample Script.
From the list, select Cancel Tasks When Request Status is Cancelled.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Request module
Click New Trigger and define the actions (On Request Creation or On Request Update).
Define the trigger condition,(e.g., Status = Cancelled).
Under Actions, select Execute Custom Function → Cancel Tasks When Request Status is Cancelled
Save the trigger.
Refer to the screenshot
Stop all pending approval tasks when the request is withdrawn.
Cancel technician tasks for incidents that are no longer valid.
Prevent wasted effort on projects/requests that have been closed by the requester.
This script automatically sends an email notification to the requesters of all requests linked to a problem when the problem is closed, ensuring communication and closure visibility.
Navigate to Admin → Developer Space → Custom Functions → Problem
Click Import Sample Script.
From the list, select Send Email to Associated Requesters on Problem Closure.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Problem module.
Click New Trigger.
Define the trigger condition,(e.g., Status = Closed).
Under Actions, select Execute Custom Function → Send Email to Associated Requesters on Problem Closure.
Save the trigger.
Refer to the screenshot
Notify all affected users that the problem has been resolved.
Ensure linked incidents/requesters receive closure communication.
Provide transparency for major outages or recurring issues when they are officially closed.
This script automatically assigns the priority of a problem by evaluating its urgency and impact values, ensuring consistent classification and quicker response.
Navigate to Admin → Developer Space → Custom Functions → Problem
Click Import Sample Script.
From the list, select Set Priority Based on Urgency and Impact .
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Problem module
Click New Trigger and define the actions (On Problem Creation or On Problem Update).
Define the trigger condition, (Priority is High)
Under Actions, select Execute Custom Function → Set Priority Based on Urgency and Impact .
Save the trigger.
Refer to the screenshot
Ensure critical problems with wide impact and urgency are escalated as P1.
Maintain uniform priority assignment across all problems.
Improve SLA adherence by removing manual errors in problem prioritization.
This script ensures consistency by automatically updating the status of all incidents linked to a problem to Resolved once the problem itself is marked as Resolved.
Navigate to Admin → Developer Space → Custom Functions → Problem.
Click Import Sample Script.
From the list, select Update Associated Incidents to Resolved when Problem is Resolved.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Problem module
Click New Trigger and define the actions (On Problem Creation or On Problem Update).
Define the trigger condition, (e.g., Status = Resolved).
Under Actions, select Execute Custom Function → Update Associated Incidents to Resolved when Problem is Resolved.
Save the trigger.
Refer to the screenshot
Keep incident and problem statuses aligned automatically.
Avoid manual effort to close multiple associated incidents.
Ensure users impacted by incidents see their requests resolved as soon as the underlying problem is fixed.
This script automatically sends a notification to the assigned technician once all tasks linked to a request are marked as Completed.
Navigate to Admin → Developer Space → Custom Functions → Task.
Click Import Sample Script.
From the list, select Notify Assigned Technician on Task Completion.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers .
Select the Task module.
Click New Trigger.
Define the trigger condition, (e.g., Status = Closed).
Under Actions, select Execute Custom Function → Notify Assigned Technician on Task Completion.
Save the trigger.
Refer to the screenshot
Notify the request owner’s technician that all related tasks are done.
Ensure technicians stay updated without manually checking task statuses.
Improve workflow visibility when request tasks drive resolution progress.
This script automatically appends key request details (like request ID, subject, or category) to the task title, helping technicians quickly identify the request context.
Navigate to Admin → Developer Space → Custom Functions → Task.
Click Import Sample Script.
From the list, select Append Request Details to Task Title.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Task module.
Click New Trigger.
Define the trigger condition, (e.g., Status = Closed).
Under Actions, select Execute Custom Function → Append Request Details to Task Title..
Save the trigger.
Refer to the screenshot
Add Request ID at the end of the task title → e.g., “Reset VPN Access (REQ12345)”.
Append the Request Subject so the technician sees context instantly.
Maintain consistent task naming conventions for easier tracking and reporting.
This script automatically sends a notification to the project owner whenever a project task is marked as Closed, ensuring project stakeholders stay informed of task progress.
Navigate to Admin → Developer Space → Custom Functions → Task
Click Import Sample Script.
From the list, select Send Notification to Project Owner When Task is Closed.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers .
Select the Task module.
Click New Trigger.
Define the trigger condition, (e.g., Status = Closed).
Under Actions, select Execute Custom Function → Send Notification to Project Owner When Task is Closed.
Save the trigger.
Refer to the screenshot
Keep the project owner informed whenever team members close tasks.
Provide better project visibility by notifying stakeholders about progress.
Reduce the need for manual status reporting from technicians to project owners.
This script automatically updates and closes all requests associated with a change once the change itself is marked as Closed, ensuring consistency across related records.
Navigate to Admin → Developer Space → Custom Functions → Change.
Click Import Sample Script.
From the list, select Auto-Close Requests Linked to Change.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Change module.
Click New Trigger.
Define the trigger condition,(e.g., Change Status = Closed).
Under Actions, select Execute Custom Function → Auto-Close Requests Linked to Change.
Save the trigger.
Refer to the screenshot
Ensure all dependent requests are resolved once the related change is finished.
Eliminate manual follow-up work to close linked requests.
Maintain data consistency across Requests and Changes for reporting and SLA compliance.
This script automatically creates a release record when a change request is approved, streamlining the transition from change planning to deployment.
Navigate to Admin → Developer Space → Custom Functions → Change.
Click Import Sample Script.
From the list, select Create Release on Change Approval.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Change module.
Click New Trigger.
Define the trigger condition, (e.g., Change Status = Approved).
Under Actions, select Execute Custom Function → Create Release on Change Approval.
Save the trigger.
Refer to the screenshot
Seamless transition: Move from change approval to release creation automatically.
Ensure approved changes are always deployed without manual effort.
Improve release governance by tracking which changes trigger releases.
This script automatically updates specific fields or properties of a change request based on defined conditions, helping maintain data consistency and streamline workflows.
Navigate to Admin → Developer Space → Custom Functions → Change.
Click Import Sample Script.
From the list, select Update Change Request Properties..
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Change module.
Click New Trigger.
Define the trigger condition, (e.g., Change Type = Standard or Change Status = In Progress).
Under Actions, select Execute Custom Function → Update Change Request Properties.
Save the trigger.
Refer to the screenshot
Automatically set Assignment Group or Technician based on Change Type.
Update Scheduled Start/End Dates when certain conditions are met.
Ensure standardization of change request fields for reporting and SLA compliance.
This script automatically attaches a predefined rollout plan to a change request when it enters the Planning stage, ensuring consistent and standardized implementation procedures.
Navigate to Admin → Developer Space → Custom Functions → Change.
Click Import Sample Script.
From the list, select Add Predefined Rollout Plan.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Change module.
Click New Trigger.
Define the trigger condition,(e.g., Change Stage = Planning).
Under Actions, select Execute Custom Function → Add Predefined Rollout Plan..
Save the trigger.
Refer to the screenshot
Automatically attach a standard rollout checklist for recurring change types.
Ensure compliance and consistency across all change implementations.
Reduce manual effort in planning repetitive or standard changes.
This script automatically adds a predefined set of tasks to a release, ensuring consistency in release execution and reducing manual effort.
Navigate to Admin → Developer Space → Custom Functions → Release.
Click Import Sample Script.
From the list, select Add Predefined Tasks to Release.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Release module.
Click New Trigger.
Define the trigger condition,(e.g., Template >>is >> General Template).
Under Actions, select Execute Custom Function → Add Predefined Tasks to Release.
Save the trigger.
Refer to the screenshot
Attach a standard release checklist for routine deployments.
Ensure all required tasks are included for compliance and auditing.
Reduce manual effort and maintain uniform release execution.
This script automatically updates and closes all changes linked to a release once the release itself is marked as Closed, ensuring consistency and reducing manual follow-ups.
Navigate to Admin → Developer Space → Custom Functions → Release.
Click Import Sample Script.
From the list, select Close Changes Associated with Release.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Release module.
Click New Trigger.
Define the trigger condition,(e.g., Status = Closed).
Under Actions, select Execute Custom Function → Close Changes Associated with Release.
Save the trigger.
Refer to the screenshot
Ensure all changes tied to a release are closed when the release completes.
Maintain status consistency between releases and their dependent changes.
Reduce manual effort and avoid leaving pending changes after release closure.
This script automatically closes all projects linked to a release when the release itself is marked as Closed, ensuring consistency and reducing manual follow-up tasks.
Navigate to Admin → Developer Space → Custom Functions → Release.
Click Import Sample Script.
From the list, select Close Projects Associated with Release.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Release module.
Click New Trigger.
Define the trigger condition(e.g., Status = Closed).
Under Actions, select Execute Custom Function → Close Projects Associated with Release.
Save the trigger.
Refer to the screenshot
Ensure all projects tied to a release are closed when the release is completed.
Maintain status consistency between releases and dependent projects.
Reduce manual follow-ups and avoid leaving projects in progress after release closure.
This script automatically sends notifications to all project members whenever a new milestone is created, keeping the team informed and aligned.
Navigate to Admin → Developer Space → Custom Functions → Project.
Click Import Sample Script.
From the list, select Notify Project Members on Milestone Creation.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Project module.
Click New Trigger.
Define the trigger condition,(e.g., Priority >> is >> High).
Under Actions, select Execute Custom Function → Notify Project Members on Milestone Creation.
Save the trigger.
Refer to the screenshot
Keep all project team members informed of newly created milestones.
Ensure timely awareness for task planning and resource allocation.
Improve project transparency by automatically notifying stakeholders of key progress points.
This script automatically creates a release and links it to the project, streamlining release planning and ensuring that project timelines include associated releases.
Navigate to Admin → Developer Space → Custom Functions → Project.
Click Import Sample Script.
From the list, select Create and Associate Release with Project.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Project module.
Click New Trigger.
Define the trigger condition,(e.g., Project Status = Approved or Project Phase = Planning).
Under Actions, select Execute Custom Function → Create and Associate Release with Project.
Save the trigger.
Refer to the screenshot
Automatically create a release linked to a new project for planning purposes.
Ensure that all projects have associated releases for tracking deployments.
Reduce manual effort and maintain consistency in project-release associations.
This script automatically sets the project code to match the project ID, ensuring unique and consistent identification for all projects.
Navigate to Admin → Developer Space → Custom Functions → Project.
Click Import Sample Script.
From the list, select Update Project Code with Project ID.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Project module.
Click New Trigger.
Define the trigger condition,(e.g., Project Type >> is >> Business ).
Under Actions, select Execute Custom Function → Update Project Code with Project ID.
Save the trigger.
Refer to the screenshot
Ensure unique project codes by aligning them with project IDs.
Simplify tracking and reporting by using consistent identifiers.
Reduce manual errors when entering project codes.
This script automatically updates the status of a request whenever the requester adds a note, helping ensure requests reflect the latest user input.
Navigate to Admin → Developer Space → Custom Functions → Note.
Click Import Sample Script.
From the list, select Update Request Status on Requester Note.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Note module.
Click New Trigger >> Applies for Request Note.
Define the trigger condition,(e.g., Created By >> is >> $Logged in user).
Under Actions, select Execute Custom Function → Update Request Status on Requester Note.
Save the trigger.
Refer to the screenshot
Change a request status from Pending to In Progress when the requester adds additional information.
Ensure technicians are aware of new requester notes by automatically updating the request status.
Maintain accurate request lifecycle tracking without manual intervention.
This script automatically sends an email notification to the requester whenever a public note is added to their request, keeping them informed in real time.
Navigate to Admin → Developer Space → Custom Functions → Note.
Click Import Sample Script.
From the list, select Send Email to Requester on Public Note.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Note module.
Click New Trigger >> Applies for Request Note.
Define the trigger condition,(e.g., Note Type = Public).
Under Actions, select Execute Custom Function → Send Email to Requester on Public Note.
Save the trigger.
Refer to the screenshot
Notify the requester when a technician updates progress on their request via a public note.
Keep requesters informed of important updates without them logging into the portal.
Improve communication transparency and reduce follow-up inquiries.
This script automatically assigns an unassigned request to the technician who adds a note, ensuring accountability and reducing unassigned work.
Navigate to Admin → Developer Space → Custom Functions → Note.
Click Import Sample Script.
From the list, select Assign to Logged-in User When Technician Adds Note to Unassigned Request.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Note module.
Click New Trigger >> Applies for Request Note.
Define the trigger condition ( Request Assignment = Unassigned and Created By = Technician )
Under Actions, select Execute Custom Function → Assign to Logged-in User When Technician Adds Note to Unassigned Request.
Save the trigger.
Refer to the screenshot
Automatically assign unassigned requests to the technician who starts working on them.
Ensure no request remains unassigned once a technician engages with it.
Improve accountability and tracking of technician actions.
This script automatically updates the status of a request whenever a technician adds a reply, keeping the request lifecycle accurate and up-to-date.
Navigate to Admin → Developer Space → Custom Functions → Notification.
Click Import Sample Script.
From the list, select Update Request Status on Technician Reply.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Notification module.
Click New Trigger >> Applies for Request Notification.
Define the trigger condition,(e.g., Is Public >> is >> True).
Under Actions, select Execute Custom Function → Update Request Status on Technician Reply.
Save the trigger.
Refer to the screenshot
Automatically move requests from Pending to In Progress when a technician replies via a notification.
Keep request status accurate in real time without manual intervention.
Improve tracking, reporting, and SLA compliance for technician responses.
This script automatically attaches a predefined rollout plan to a change request when it enters the Planning stage, ensuring consistent and standardized implementation procedures.
Navigate to Admin → Developer Space → Custom Functions → Approval.
Click Import Sample Script.
From the list, select Add Note on Request Approval or Rejection.
Save the function.
To run the script when specific conditions are met:
Go to Admin → Automation → Custom Triggers.
Select the Approval module.
Click New Trigger >> Applies for >> Request Approval.
Define the trigger condition , (Approval Status = Approved or Approval Status = Rejected ) , Level is 1
Under Actions, select Execute Custom Function → Add Note on Request Approval or Rejection.
Save the trigger.
Refer to the screenshot.
Automatically document approval or rejection actions on requests.
Maintain a clear audit trail for compliance purposes.
Reduce manual effort of adding notes for each approval action.
This script automatically closes all pending change tasks based on a specified query report, helping maintain up-to-date task statuses and reducing manual effort.
Navigate to Reports → New Query Report.
Execute the query that identifies the pending change tasks you want to close.
Save the report with a meaningful name (e.g., closerequest
).
Navigate to Admin → Developer Space → Custom Functions → Scheduled Functions.
Click Import Sample Script.
From the list, select Bulk Close Pending Change Tasks.
Save the function.
Go to Admin → Automation → Custom Schedules.
Click New Schedule
Set the query report name (closerequest
) as a parameter for the function.
Under Executor, select Execute Custom Function → Bulk Close Pending Change Tasks.
Define the schedule frequency (e.g., daily, weekly).
Refer to the screenshot
Automatically close stale or pending change tasks from reports to maintain clean task lists.
Reduce manual follow-ups on tasks that are no longer relevant.
Improve reporting accuracy by ensuring only active tasks remain open.
This script automatically closes all pending request tasks based on a specified query report, helping maintain up-to-date task statuses and reducing manual effort.
Navigate to Reports → New Query Report.
Execute the query that identifies the pending change tasks you want to close.
Save the report with a meaningful name (e.g., closerequesttasks
).
Navigate to Admin → Developer Space → Custom Functions → Scheduled Functions.
Click Import Sample Script.
From the list, select Bulk Close Pending Request Tasks.
Save the function.
Go to Admin → Automation → Custom Schedules.
Click New Schedule
Set the query report name (closerequesttasks
) as a parameter for the function.
Under Executor, select Execute Custom Function → Bulk Close Pending Request Tasks.
Define the schedule frequency (e.g., daily, weekly).
Optionally, enable Repeat Mode if the request count is large.
Refer to the screenshot
Automatically close stale or pending request tasks to maintain clean task lists.
Reduce manual follow-ups on tasks that are no longer relevant.
Improve reporting accuracy by ensuring only active tasks remain open.
This script automatically cancels requests that remain unapproved for a specified number of days, as determined by a query report, helping maintain workflow efficiency and reduce stale requests.
Navigate to Reports → New Query Report.
Execute the query that identifies the pending change tasks you want to close.
Save the report with a meaningful name (e.g., unapproved_requests
).
Navigate to Admin → Developer Space → Custom Functions → Scheduled Functions.
Click Import Sample Script.
From the list, select Cancel Unapproved Requests Based on Query Report.
Save the function.
Go to Admin → Automation → Custom Schedules.
Click New Schedule
Set the query report name (unapproved_requests
) as a parameter for the function.
Under Executor, select Execute Custom Function → Cancel Unapproved Requests Based on Query Report.
Define the schedule frequency (e.g., daily, weekly).
Refer to the screenshot
Automatically cancel requests that remain unapproved beyond a defined number of days.
Maintain a clean request list and reduce manual monitoring.
Improve workflow efficiency and ensure timely approval actions.
This script automatically creates requests for assets that are nearing expiry, based on a specified query report, helping ensure timely action and compliance.
Navigate to Reports → New Query Report.
Execute the query that identifies the pending change tasks you want to close.
Save the report with a meaningful name (e.g., asset_expiry
).
Navigate to Admin → Developer Space → Custom Functions → Scheduled Functions.
Click Import Sample Script.
From the list, select Create Requests for Asset Expiry.
Save the function.
Go to Admin → Automation → Custom Schedules.
Click New Schedule
Set the query report name (asset_expiry
) as a parameter for the function.
Under Executor, select Execute Custom Function → Create Requests for Asset Expiry.
Define the schedule frequency (e.g., daily, weekly).
Refer to the screenshot
Automatically create requests for assets nearing expiry to initiate renewals or replacements.
Ensure timely notifications and actions for asset management teams.
Reduce manual tracking of asset expiry dates and improve compliance.