Skip to Content
Technical Articles

How to use Plugin’s efficiently to derive your calculations

Hello ,

The purpose of this article is to demonstrate and explain how Query functions for String, Value, Date and Boolean works.

This will help Comp Admins to achieve when there is a complex requirement, by trying to construct the Formula and assign in a rule for Pipeline calculation to generate results;

Comp Admin will create a custom SQL SELECT Statements in a efficient way that results to return within 5 seconds incase it will be session run time out  and results won’t be appearing.

Admins to ensure that the uptime, performance are taken care.

SQL Statement will have parameter condition to set and to be inserted in Plug-in table (TCMP).
By running the pipeline job, rule gets processed and calls the custom SQL query during the stages so that you can get derived results out of it.

Let’s go overview to understand more details about it.

Query for String

Assign the Formula to a Rule based on Rule usage

Insert the SQL Select Statement to CS_Pluginquery Table

Query for Boolean

Insert the SQL Select Statement to CS_Pluginquery Table

Query for Date

Insert the SQL Select Statement to CS_Pluginquery Table

Query for Value 


Using above use-cases, Pipeline results are generated for the functions ;

Query for String , Boolean , Date & Value


 

Note : If SQL Select Statements are not inserted, will receive pipeline errors as shown here below

 

Disclaimers

  • SELECT Statement results should return within 5 seconds else timeout
  • Allowed ONLY SELECT Statements.
  • No UPDATE, INSERT & DELETE Statements allowed.
  • No Stored Procs or Packages to call

9 Comments
You must be Logged on to comment or reply to a post.