Business Rule script to stop the technician from editing the resource field in a request.
Usecase: Consider a service request that is already submitted. Now when a technician tries to edit the resource details in it, that operation should not be allowed. In the Business Rules, under execute script action we can invoke a Python script to negate this operation.
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.
1. Extract the ZIP file under ..\ManageEngine\Servicedesk\integration\custom_scripts - folder.
2. For BR Scripts: Go to Admin > Business Rules > give a rule name> Action: Execute script > "py update_reqv3.py $COMPLETE_V3_JSON_FILE and set the criteria as "Service Category=Communication"
New to ADSelfService Plus?
Related Articles
Technician Auto-Assign vs. Business Rule
If you have selected the option All requests under Tech Auto-assign then even if the Business rule sets a technician, tech auto-assign will reset the technician value. However, when Tech Auto-assign is set as an Unassigned request, Technician ...
Business Rule script to stop the requester from editing the ticket after the ticket is being approved.
Usecase: Consider a new asset service request is submitted and is approved, now when the requester of it (who is a technician as per the role assigned) tries to edit the resource details, the action shouldn't be allowed. We can use the negate ...
Script for adding a new request according to the option selected by requester and new request created will be added to notes
This is a script for adding new request from a older request according to the option selected by the requester. If requester selects option A request must be closed , if requester selects option B a new request will be created and the new request ID ...
Notification in Business rules using Zoho Deluge script - > 10.6
In 10.6, we don't have a separate option to notify technicians under the Business rules option. However, we have introduced something called custom action where more actions could be accomplished. As for notifying a technician/somebody when a ...
Script to auto-populate the task owner field with the technician who created the request
REQUIREMENT: When a technician creates a request and a task is added under the request, the task owner should be the same technician. TESTED IN: Builds 14503 (Postgres) STEPS: 1) Under "Admin" > "Task Custom Functions," create a new custom function ...