---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Transform data

# Transform data {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The NowData framework provides the ability to easily transform data
into records.
Using the [NowRecord](https://servicenow-prod.fluidtopics.net/7jGJ1HNw3Om3z9oWjV0OnQ#NowRecordiOSAPI "The NowRecord class defines a model that represents a record in a table on a ServiceNow instance.") convenience structure, which contains the properties
`sysId` and `fields`, you can easily transform data into a
record. Whenever you obtain a `Data` wrapping `Result` or
`Publisher`, you can easily transform it into a `NowRecord`
wrapping `Result` or `Publisher` using the
convertToRecord() and convertToRecords() methods.
For additional information, see [NowTableService class - iOS](https://servicenow-prod.fluidtopics.net/Mg9nOO4u3WPRvIqz4t9SUw#NowTableServiceiOSAPI "The NowTableService class provides functions that enable you to perform create, read, update, and delete operations on records of existing ServiceNow tables.").  
Note:  
While NowRecord makes it very easy to quickly obtain data, depending on your use case, the Codable methods might be preferable as a strongly typed Codable structure provides more flexibility than a collection of "any" fields.

