FAQs in this section
What is VTAP?
What tools VTAP provides?
What is Module Designer?
What is API Designer?
Where can I find documentation for VTAP?
Which editions and version supports VTAP?
What is the pricing of VTAP?
What happens to customization done using Customizer in V7 version?
How to get in touch with Platform team?
What is the intent of Developer edition?
What is Vtiger’s Add-on Publisher?
Is Add-ons Publisher available in all the CRM editions?
How do I publish Email Template add-ons?
How do I publish any other module as an add-on?
How do I update a published add-on?
How do I test an add-on?
What are the limitations of the Add-ons Publisher?
Which different add-on features can I publish?
What can a developer publish using Add-on Publisher?
What are the conditions for updating a published add-on?
What are the prerequisites for publishing an add-on?
What is an Insights Designer?
What is the use of Insigts Designer in Vtiger CRM?
What are the queries in Insights Designer?
What are the components of the Insight Designer?
What are the components of a Widget in Insights Designer?
What is the Input tab in Insights Designer?
What is the Transfer tab in Insights Designer?
What is the Output tab in Insights Designer?
What are the benefits of using the Insights Designer?
How do I access the Insights Designer in Vtiger CRM?
How do I create an Insights page?
How do I enable filters for a report?
How do I pin an Insight to the Dashboard?
Is Raw Query support available by default?
In which editions of Vtiger CRM is the VTAP - App Creator available?
Can I set access to my custom apps?
What are Line Item Fields in Insights Designer?
What is a Server Script?
What are Server jobs?
How do I create a Server job?
What are the different helper methods to write server scripts?
What is the Debugging method to write Server scripts?
What are HTTP methods to write server scripts?
What is Vtiger REST API method to write server scripts?
How to write code for Server Scripts and Jobs?
How to write a script for a server job to update stocks weekly in the warehouse system?
How to write a script for a server job for importing daily leads from a file?
How to write a server script to set case SLA by created day?
How to write a server script to calculate the outstanding invoice amount?
How to write a server script for contact email validation and data enrichment?
how to write a server script to update the credit score of a contact?
How can I delete a UI component in the Module Designer?
What are Server Scripts and Jobs in Vtiger CRM?
Table of Contents
In web development, server scripts bring websites to life by interacting with databases, doing calculations, and crafting HTML to send them back to your browsers.
Sometimes you may need custom processing on the server, either triggered by a record getting updated or happening at a regular scheduled time. The Server Scripts and Jobs module in Vtiger allows you to write server-side scripts to perform various tasks.
Using the feature you can perform a custom action with the following triggers:
Sometimes you may need custom processing on the server, either triggered by a record getting updated or happening at a regular scheduled time. The Server Scripts and Jobs module in Vtiger allows you to write server-side scripts to perform various tasks.
Using the feature you can perform a custom action with the following triggers:
- When a record is saved (through workflows or processes).
- When a record is approved or rejected (through approvals).
Server Scripts
- These are triggered when a record is saved, approved, or rejected, usually set up within workflows, processes, or approvals.
- They receive both the data of the record being saved and user information.
- Tasks include updating record data based on complex logic, creating records in other modules, or sending emails through external services.
- They execute immediately and can slow down record saves if they take too long.
Server Jobs
- These are background tasks that run at scheduled intervals (like hourly, daily, or weekly).
- They don't receive user or record data but run under the owner user's context.
- Useful for heavy and periodic tasks such as fetching data from external services or sending data to them.
- They operate in the background without blocking CRM operations.
- Scheduled and executed by a service, which manages its load and returns results to the CRM after execution.
Was this FAQ helpful?
0
out of
0
found this helpful.
Comments 0
Be the first to comment