To represent values that your function will require at runtime, use environment variables. Environment variables can be used in Formulas, as well as to define Default Values and Filter Values.
Listed below is a list of Environment variables that can be utilized in the Dataraptors and Integration Procedures.
| Description | Environment Variable |
| To find out the total number of SOSL queries | $Vlocity.SoslQueriesTotal |
| Number of Data Manipulation Language rows | $Vlocity.DMLRowsTotal |
| Apex CPU value | $Vlocity.CpuTotal |
| Number of queries executed | $Vlocity.QueriesTotal |
| The number of query rows returned | $Vlocity.QueryRowsTotal |
| The standard price book’s ID | $Vlocity.StandardPricebookId |
| Heap size value | $Vlocity.HeapSizeTotal |
| Number of Data Manipulation Language statements | $Vlocity.DMLStatementsTotal |
| Current user Id | $Vlocity.UserId |
| Current date | $Vlocity.TODAY |
| Tomorrow’s date | $Vlocity.TOMORROW |
| Current date and time | $Vlocity.NOW |
| Boolean FALSE | $Vlocity.FALSE |
| Boolean TRUE | $Vlocity.TRUE |
| Documents folder Id | $Vlocity.DocumentsFolderId |
| Null | $Vlocity.NULL |
| The date the specified number of days ago | $Vlocity.N_DAYS_AGO:{N} |
| The date the specified number of days from now | $Vlocity.N_DAYS_FROM_NOW:{N} |
Note : You must double-quote every environment variable you use as a Filter value.
Hope this information helps you guys.
Cheers!!!
Mukul Sharma