Business rule that needs to run (only) once #3244
Unanswered
Chicagoan2016
asked this question in
Questions
Replies: 2 comments 2 replies
-
@rockfordlhotka Sir, when you get some down time. |
Beta Was this translation helpful? Give feedback.
0 replies
-
On the surface this sounds like a workflow. Are you sure this is just one object? Or is it multiple objects for different stages of the workflow? Or maybe it is one object, but needs a property to indicate at which stage of the workflow it is current operating? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a business rule that needs to do some calculations. It also needs to increment a quantity inside 'Execute' method.
I want to make sure this business rule is run only once. A typical scenario is ,the main object is started by a user, she then forwards it to the manager and the manager could approve or send back to the user. I don't want the 'increment' portion to run every time the object is persisted.
Am I overthinking?
Kind regards.
Beta Was this translation helpful? Give feedback.
All reactions