-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve UX for HTTL mandatory for C7 #4062
Comments
@toco-cam Thanks for opening this issue. Let's get the documentation that is supposed to be linked in place. We can then go ahead to implement this fairly swiftly. |
@nikku can you share the link to the docs page again please. |
We feature modeling guidance here. |
Let me work on it. |
Did we decide on this solution? On the proposed solution above:
Also, are we going to use flags.json file to set historyTimeToLive value in modeler or just leaving empty with a linting doc link as mentioned above. Attached: I made historyTimeToLive textfield as an optional. I will add linting hints - a doc link. httlNotRequired_modeler.mov |
Here is the updated history time to live lint that points to the doc on BMPM side. Please clarify on the above questions. lint.link.to.link.doc.mov |
@prajwolbhandari1 Thanks for your work on this. We'll only be able to pick this up starting from next week. If you want to you can already open a PR in the mean time. Validation for HTTL being missing must be updated via bpmnlint-plugin-camunda-compat. Thanks! |
@nikku thank you for your reply. We are able to get rid of the validation updating bpmnlint-plugin-camunda-compat (Opening a PR soon) but we have few questions on the proposed solution that I posted above. Do you mind looking at it (few posts above)? |
@prajwolbhandari1 Not sure which question you refer to. The only one I found was this one:
We are going to introduce a flag, controlled via |
@nikku appreciate it! Does it make sense to put user hint as 'Set Time to Live as 180. <Link for docs>' ? |
I am working on with the team to raise a PR that we worked on so far. Raising the PR soon tomorrow or day after. |
@prajwolbhandari1 Thanks for your support!
The idea was not to add a link directly to the toolbar - but instead add a "Model guideline" to https://docs.camunda.io/docs/next/components/modeler/reference/modeling-guidance/ and add a link into the linking text. |
We have an initial draft for the modeling guidance: camunda/camunda-docs#3324. |
As a start we want to tackle BPMN. Later DMN and (unlikely but possible) CMMN would follow suite. |
deps: update to [email protected] feat(platform): add HTTL hint Related to #4062
Documentation update is ready for review: camunda/camunda-docs#3324 |
Final batch of documentation updates incoming 🎉. |
@nikku @toco-cam what did we decide on this, are we going ahead and merge it? This will help us in our use case. #4147 |
@prajwolbhandari1 Why do you favor diagram configuration over engine configuration? If you want to go ahead with this, then please updated it on top of the latest |
@nikku will do that and let you know. |
Please also allow us to learn about why you think this is a better approach, in your environment. This helps us evaluate how we further proceed. |
@nikku in our organization our camunda set up is shared process engine and we have multiple product lines that have different requirements based on process they build. and each product line can have hundreds of process model include parent and call activities. We do give different version of desktop modelers to BPM developers across product lines with our custom elements template and settings like disabling cmmn, httl etc in a package that we give them. the changes @prajwolbhandari1 made will allow us to enforce httl on the modeler side during design time (Catch on left) |
…lag (#4147) By specifying the flag `default-history-ttl` you can control which history time to live new Camunda 7 diagrams get created with. Closes #3869 Related to #4062 Signed-off-by: Bhandari, Prajwol <[email protected]>
|
* feat(components/modeler): add history-time-to-live guidance. Related to camunda/camunda-modeler#4062 Co-authored-by: Nico Rehwaldt <[email protected]> Co-authored-by: Maciej Barelkowski <[email protected]>
Related to camunda/camunda-modeler#4062 Co-authored-by: christinaausley <[email protected]>
Thanks @prajwolbhandari1, @HarishMalavade and anyone else who contributed to this discussion issue in a meaningful way ❤️. This is scheduled for release with the next Desktop Modeler. I'm super happy how this turned out. |
Thanks @nikku for all your help. |
* feat(components/modeler): add history-time-to-live guidance. Related to camunda/camunda-modeler#4062 Co-authored-by: Nico Rehwaldt <[email protected]> Co-authored-by: Maciej Barelkowski <[email protected]>
Related to camunda/camunda-modeler#4062 Co-authored-by: christinaausley <[email protected]>
Problem you would like to solve
The current user experience around ensuring HTTL is set does not suit all user profiles. Users with a HTTL set as a Global Engine Flag are confused about the default values and the error warning.
Proposed solution
info
hint linting#100disable-httl-hint
flag to disable the info for users with HTTL configured on the engine)history-time-to-live
modeling guidance camunda-docs#3324disable-httl-hint
flag camunda-docs#3387default-httl
flag camunda-docs#3393default-httl
#4162We use the following link to external documentation: https://docs.camunda.org/manual/latest/user-guide/process-engine/history/.
Alternatives considered
Yes
Additional context
No response
The text was updated successfully, but these errors were encountered: