Skip to main content

Environment variables can be used in DataRaptors and Integration Procedures

Here is a list of environment variables for Vlocity’s DataRaptor and Integration Procedures:

    1. To find out the total number of SOSL queries: $Vlocity.SoslQueriesTotal
    2. Number of Data Manipulation Language (DML) rows: $Vlocity.DMLRowsTotal
    3. Apex CPU value: $Vlocity.CpuTotal
    4. Number of queries executed: $Vlocity.QueriesTotal
    5. The number of query rows returned: $Vlocity.QueryRowsTotal
    6. The standard price book’s ID: $Vlocity.StandardPricebookId
    7. Heap size value: $Vlocity.HeapSizeTotal
    8. Number of Data Manipulation Language statements: $Vlocity.DMLStatementsTotal
    9. Current user Id: $Vlocity.UserId
    10. Current date: $Vlocity.TODAY
    11. Tomorrow’s date: $Vlocity.TOMORROW
    12. Current date and time: $Vlocity.NOW
    13. Boolean FALSE: $Vlocity.FALSE
    14. Boolean TRUE: $Vlocity.TRUE
    15. Documents folder Id: $Vlocity.DocumentsFolderId
    16. Null: $Vlocity.NULL
    17. The date N days ago: $Vlocity.N_DAYS_AGO:{N}
    18. The date N days from now: $Vlocity.N_DAYS_FROM_NOW:{N}

You can use these environment variables in formulas, default values, and filter values to represent values that your function will require at runtime. Note that some of these variables provide information on the current transaction’s governor limits, while others provide specific values that can be used in your DataRaptor and Integration Procedures.

I hope this information is helpful for you.


Join the discussion 2 Comments

Subscribe For More Updates


Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!