vchmakov [
https://community.jboss.org/people/vchmakov] created the discussion
"Re: Design advice: multi-day scenario"
To view the discussion, visit:
https://community.jboss.org/message/795290#795290
--------------------------------------------------------------
Hi,
That’s the point - you do not need to store the number of days since creation, you
calculate it: Today-Customer.ActivationDay. Other parameters are also persisted in your
data model, e.g. update Customer set Customer .status=“No Mail” where Customer.ID=? etc.
Why would you use jBPM persistence to store the values which belong to YOUR business
logic? jBPM is about to help you solving other problems. I’m not saying that there is no
use of it in your project, but what you have described above in not for jBPM
implementation in my opinion. That’s all I’m trying to say.
Thanks,
Vladimir
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/795290#795290]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]