# convertToJSON

A Workflow Engine function that converts the object to JSON and adds it to the workflowContext for use in subsequent actions such as the restAsyncPost function.

This function is available as a feature of the Workflow Engine v1.0 and later.

This function is available for event, alert, enrichment, and Situation workflows.

## Arguments

Workflow Engine function convertToJSON has no arguments.