Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 1.46 KB

CheckpointProcessHTTP.md

File metadata and controls

24 lines (12 loc) · 1.46 KB

CheckpointProcessHTTP

What condition does this detect?

This rule checks the placement of a Checkpoint activity within a process. When placing your checkpoint in a process, be careful with certain types of process starters or incoming events, so that a recovered process instance does not attempt to access resources that no longer exist. For example, consider a process with an HTTP process starter that takes a checkpoint after receiving a request but before sending a response. In this case, when the engine restarts after a crash, the recovered process instance cannot respond to the request since the HTTP socket is already closed. As a best practice, do not place Checkpoint activity right after or in parallel path to HTTP activities.

This is a Process rule - the rule will test each process of the application

Why is this condition important?

How to fix it?

In your developments try to do a design that require an stateless approach to be able to dont need the presence of any Checkpoint activity to store the status of the instance at that particular point.

In case you have the need or the requirement to use it try to do it

How do I use this rule?

The rule is enabled by default. To disable it if unwanted, clone the default "BW6 Quality Profile" quality profile and then disable the rule.


< Return to Rules list | < Return to STANDALONE operation | << Return to main README file