Skip to main content

Function: readWorkflowDocument()

readWorkflowDocument(value): ParsedWorkflowDocument

Read an export envelope (schemaVersion 1 or 2) or a bare definition, as Git restore does today. Import uses the same reader so both accept the same inputs. Returns null when the value is not a usable document.

Parameters​

value​

unknown

Returns​

ParsedWorkflowDocument