You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened: A Workflow object does not contain the events property,when use Workflow.tojson() generate JSON strings,The strings contains “ errors:[]”. If you use workflowValidator.setSource("WORKFLOW_MODEL_JSON").isValid(), you can get an error massage, such as "msg": "[{"message":"#/errors: expected type: JSONObject, found: JSONArray","type":"schemavalidation"}]"
What you expected to happen:
The Json strings do not contain " errors :[]", or validate success
How to reproduce it:
Anything else we need to know?:
Environment:
Specification version used:
The text was updated successfully, but these errors were encountered:
leo-li1990
changed the title
WorkflowValidator validate Wrokflow
WorkflowValidator validate Wrokflow.tojson(workflow) failed
Jul 4, 2023
What happened: A Workflow object does not contain the events property,when use Workflow.tojson() generate JSON strings,The strings contains “ errors:[]”. If you use workflowValidator.setSource("WORKFLOW_MODEL_JSON").isValid(), you can get an error massage, such as "msg": "[{"message":"#/errors: expected type: JSONObject, found: JSONArray","type":"schemavalidation"}]"
What you expected to happen:
The Json strings do not contain " errors :[]", or validate success
How to reproduce it:
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: