You can also bind the limit and offset of a SAQL query. These interactions don’t require data serialization functions.
Consider a source query that provides this data.
[ {limit: 100, offset: 10} ]
To bind the limit and offset, use this logic.
q = limit q {{cell(stepFoo.selection, 0, "limit").asString()}};
q = offset q {{cell(stepFoo.selection, 0, "offset").asString()}};
After CRM Analytics evaluates the interaction, the limit and offset become:
q = limit q 100; q = offset q 10;
For information about limits and offsets, see the CRM Analytics SAQL Developer Guide.