Loading
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Environment Variables in Omnistudio Data Mappers and Integration Procedures

          Environment Variables in Omnistudio Data Mappers and Integration Procedures

          You can use environment variables to define Default Values and Filter Values, and in Formulas.

          For example, the filter $Vlocity.N_DAYS_AGO:30 extracts the cases created in the last 30 days.

          If you’re using an environment variable as a Filter value, you must double-quote it. These variables are case-sensitive.

          Environment Variable

          Description

          $Vlocity.TODAY

          Today’s date

          $Vlocity.TOMORROW

          Tomorrow’s date

          $Vlocity.NOW

          Current date and time. $Vlocity.NOW applies to the user or org time zone, while the NOW() function applies UTC time.

          $Vlocity.N_DAYS_FROM_NOW:{N}

          Specify the number of days from now

          $Vlocity.N_DAYS_AGO:{N}

          Specify the number of days ago

          $Vlocity.NULL

          Null

          $Vlocity.StandardPricebookId

          ID of the standard price book

          $Vlocity.DocumentsFolderId

          Documents folder ID

          $Vlocity.true or $Vlocity.TRUE

          Boolean TRUE

          $Vlocity.false or $Vlocity.FALSE

          Boolean FALSE

          $Vlocity.UserId

          Current user ID

          $Vlocity.Percent

          Percent character. Useful for escaping % characters in URLs and text field values in Omniscripts, Integration Procedures, and Data Mappers so they aren't mistaken for merge field syntax.

          $Vlocity.CpuTotal

          Apex CPU value

          $Vlocity.DMLStatementsTotal

          Number of Data Manipulation Language statements

          $Vlocity.DMLRowsTotal

          Number of Data Manipulation Language rows

          $Vlocity.HeapSizeTotal

          Heap size value

          $Vlocity.QueriesTotal

          Number of queries run

          $Vlocity.QueryRowsTotal

          Number of query rows fetched

          $Vlocity.SoslQueriesTotal

          Number of SOSL queries run

          User.userProfileName

          Get the current user’s profile name on Flexcard

          userProfile

          Get the current user’s profile name on Omniscript

           
          Loading
          Salesforce Help | Article