Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is wrong if the body of a method which behavior is specified by a story diagram is empty whereas other method bodies are fine and the codegeneration seems to work properly?

0
Posted

What is wrong if the body of a method which behavior is specified by a story diagram is empty whereas other method bodies are fine and the codegeneration seems to work properly?

0

Such a situation occurs if the story diagram of the method with the missing body is errorneous. Since the bodies of the methods are generated by a different code generator than the rest of the code, the code generation process can fail individually for separat methods. This is a result of missing analysis which inform immediately if a specification is valid or not. We are aware of that disadvantage and hope to present a solution soon. Until than, you can avoid such errors by completing the control flow of a method in each step of development. For instance, if you add a “For Each”-Activity first complete the control flow by adding all necessary transitions. Or if you add a “Success” transition add the “Failure” transition immediately before you start to implement the activity. This ensures that the code generator does not quit due to a broken control flow.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123