QuidServer is a Windows service developed by Quidgest that serves as a scheduling tool and message broker. It provides functionality for scheduling and executing periodic tasks and acts as a message queueing system for efficient communication between different components and systems.
As a scheduling tool, QuidServer allows users to automate the execution of tasks at specified intervals. This includes tasks such as code generation, data processing, report generation, and other recurring operations. By configuring the scheduling parameters, users can define the frequency, timing, and dependencies of these tasks, ensuring that they are executed automatically and according to the desired schedule.
Furthermore, QuidServer also acts as a message broker, facilitating reliable communication between various components and systems. It allows messages to be sent, received, and queued, ensuring orderly processing and smooth coordination between different parts of an application or system. This message queueing capability enhances the reliability, scalability, and efficiency of communication within complex software architectures.
Overall, QuidServer plays a critical role in automating and streamlining processes by providing scheduling capabilities and acting as a message broker. It is a powerful tool that enables organizations to optimize their workflow, enhance productivity, and ensure efficient communication between different components of their software systems.
You can download it from the link below. The location (and the link) of the latest release of the Setup will be updated frequently. The current link is here
There are a few requirements that have to be fulfilled before you start the installation process:
Process
Install.Bat
”.The default username and password are admin. For security reason change the credentials after the first access. {.is-warning}
Monitoring panel for users of the applications currently connected to the system (for now, only users of the BackOffice applications).
In addition to showing the users, it allows the execution of the global shutdown command, as well as defining the shutdown message
The Schedules menu offers the capability to create schedules for triggering various tasks, including runnable processes, systems' API calls, maintenance tasks, and more. To create a schedule, follow these steps:
These wsapi tasks can be very versatile. Tasks such as reindexing, execution of functions implemented on the C# server, among others, can be scheduled. This feature enhances operational efficiency and allows for seamless automation of critical tasks.
Key | Value | Note |
---|---|---|
URL | http://SERVERNAME/WebApi.asmx | WebAdmin WebAPI Web Service (1) |
USERNAME | XXXXXXXXX | Login of \ |
PASSWORD | XXXXXXXXX | Password of \ |
YEARAPP | 0 | Usually 0, unless your database changes each year |
LANGUAGE | ENUS | EN_US (Optional) |
FUNCTION | foo | See section Functions |
PARAMETER X | ZZ | Additional parameter to be used by the function (3) |
(1) The provided URL is the Webadmin publication of the project where you wish to create the trigger or process other scheduled tasks. (2) Information to be retrieved from the configuracoes.xml file created by the WebAdmin when configuring the system in System Configuration item menu. See the example below where a partial content of the configuracoes.xml file is presented and where the Login and Password location can be seen.
<DataSystem Name="0">
<Type>SQLSERVER</Type>
<Server>SERVERNAME</Server>
<Port />
<Login>XXXXXXXXX</Login>
<Password>XXXXXXXXX</Password>
<Data Id="FOO" Schema="FOO" ConnEncrypt="false" ConnWithDomainUser="false" />
<DataSystemLog />
</DataSystem>
(3) You can use additional arguments as in the example. Example to check the arguments in your routine:
if(this.argsDict["STOCK_STATUS"]=="1")
Example | Key | Value |
---|---|---|
URL | http://localhost:5658/WebApi.asmx | |
USERNAME | ADMIN | |
PASSWORD | ** | |
FUNCTION | RECALCULATE_STOCK | |
STOCK_STATUS | 1 |
If you need to apply more than one function in the same task, just separate them with a semicolon
(;)
. This simple step lets you streamline your workflow with ease and efficiency. {.is-success}
You can create any function on Genio manual code and call it from Quidserver. Besides of that you have by default on Genio, some other functions, such us:
NOTIFICATIONS - Enables autonomous synchronization of all notifications.
TRANSFERLOGS - Enables the transfer of all log files.
SCHEDULEDPROCESS - Enables the scheduling of the generation process.
UPGRADEGENIOVERSION - Schedules a task to upgrade the Genio version.
CHECKDBGENIOVERSION - Schedules a task to check the DB Genio version.
GetProjectInfo - Schedules a task to get project information.
REINDEX - Enables autonomous reindexing of systems.
Function | Name |
---|---|
CREATEDB | Create Database |
CREATESP | Create Base StoredProcedures |
DROPFK | Drop foreign keys |
CREATEHRDSCHEMA | Create HardcodedTables Schema |
UPGRADECLIENT1 | Upgrade Client |
CREATESCHEMA | Create Schema |
TBLREBUILD | Rebuild tables |
FRAMEWORKUPGRADE | Framework change routines |
DROPCOLUMNS | Delete unknown columns |
UPDATECFG | Schema Maintenance |
UPDATESP | Update StoredProcedures |
DELETETMPDB | Delete Temporary Databases |
ADDINDEX | Rebuild Table Indexes |
INVALIDZZSTATE | Invalid Records |
CREATEFORMULASPROCS | Create formula stored procedures |
UPDATEREPLICAS | Update Replicas |
RESETCALCFIELDS | Reset CalculatedFields |
UPGRADECLIENT2 | Upgrade Client |
UPDATEFORMULAFIELDS | Update FormulaFields |
FORMULASDAILYUPDATE | Update daily formulas |
UPDATEINTCOD | Update Sequencial Numbers |
CREATEDEFAULTUSER | Create default user |
GRANTACCESSSP | Grant Access StoredProcedures |
CREATEFK | Create foreign keys |
SHRINKDB | Shrink Database |
DELROWS | Delete Invalid Rows |
CTRLRECORDS | Create controlled records |
FK2NULL | Invalid foreign key to NULL value |
To efficiently initiate a shutdown of a particular schema, you can utilize the 'Shutdown' call instruction within your task creation process. This streamlined approach simplifies the shutdown procedure, ensuring a smooth and controlled operation.
Key | Value | Note |
---|---|---|
REASON | Display message | Warning message to users |
MINUTES | Number | Number of minutes until shutdown |
SECONDS | Number | Number of seconds until shutdown |
SCHEMA | DATABASESCHEMANAME | Name of the database to be shutdown |
This intuitive panel is designed to streamline the configuration of systems with queues and messages, and it is organized into two main sections:
System and Queue Declaration
Message Routing Declaration
For system declaration, the required information includes:
Parameter | Description |
---|---|
System Name | The 3-letter acronym of the system in Genio. |
Username & Password | Necessary for web system communication. Users must have an access level of 99 in the application database. |
Year (DB Year) | Use 0 (zero) for systems not specific to a year. |
Periodicity | Currently not in use, reserved for future updates for more frequent message updates. |
Each channel within a system must be declared with the following parameters:
Parameter | Description |
---|---|
Name | The name of the Queue. |
Path | For BackOffice queues, use the queue path. For web systems, use the web services address. |
Type | 'Soap' for Web systems and 'MessageQueueing' for BackOffice systems with Queues. |
Flow | Not in use, reserved for future implementations of bidirectional or one-way queues. |
Unicode | Indicates if the channel handles Unicode messages. |
Static routes are used to define the flow of messages: