we are trying to generate the SDL specification file from data coming from a database. We managed to get it working pretty nicely except for the transitions.
When we comment out the transition property, the generation works. When we put it back in, we get the following error message:
Error: Workflow is invalid: /states/0 | #/else/oneOf/0/required | must have required property 'duration'
The state type is an operation so we don't need a duration in there. On top of that, if we include a duration, then we get the following error:
Error: Workflow is invalid: /states/0 | #/else/oneOf | must match exactly one schema in oneOf
Hi there!
we are trying to generate the SDL specification file from data coming from a database. We managed to get it working pretty nicely except for the transitions.
When we comment out the transition property, the generation works. When we put it back in, we get the following error message: Error: Workflow is invalid: /states/0 | #/else/oneOf/0/required | must have required property 'duration'
The state type is an operation so we don't need a duration in there. On top of that, if we include a duration, then we get the following error: Error: Workflow is invalid: /states/0 | #/else/oneOf | must match exactly one schema in oneOf
Could this be a bug? We are on version 3.0.3.
Bram