Change Form Status

Change the status of a form. There are two form statuses: draft or complete. See here for more on form status.

Inputs

Input

Value

formId

Required

The unique 32-digit hexadecimal identifier of the form whose status you want to change. See here for more details.

formStatus

Required

The form's desired status. This can be either "complete" or "draft".

Outputs

None

Usage

Completing or more frequently reopening a form based on an external trigger is a common use case for this action. For instance, imagine you have a workflow where field technicians fill out a form, the completed form's data is uploaded into a Salesforce object, and managers then look at the results through Salesforce. If they see that some data is missing, they may want to reopen the form directly from Salesforce. This use case is illustrated in the example below, where a Salesforce Webhook trigger is used to reopen a form (i.e. change its status to "draft"). The form ID is derived via a Salesforce Lookup action.

10351035