Function: validateWorkflowOnceRequest()
@kortexya/reasoninglayer / validateWorkflowOnceRequest
Function: validateWorkflowOnceRequest()
Section titled “Function: validateWorkflowOnceRequest()”validateWorkflowOnceRequest(
request):void
Defined in: src/resources/workflows.ts:77
Check one-off identifiers and JSON serialization before retaining a delivery intent.
Parameters
Section titled “Parameters”request
Section titled “request”The exact reviewed request that will be sent.
Returns
Section titled “Returns”void
Nothing when the request can be serialized.
Throws
Section titled “Throws”For invalid identities or non-JSON input values.
Throws
Section titled “Throws”For a step representation unsupported by this SDK.
Remarks
Section titled “Remarks”Pure local validation; graph capabilities, schema and permissions remain authoritative native checks. Performs no HTTP request or execution.
Example
Section titled “Example”`validateWorkflowOnceRequest({ definition, eventId, expectedOwnerId });`