Validation of a model with a custom rule ?

Started by tpedot, November 23, 2021, 12:38:26 PM

Previous topic - Next topic

tpedot

Hello,
I wonder if it is possible to add a rule to validate a model, how to create such a validation ?

It seems that we could not do this.


I want to reproduce a model which can make some cost calculation like here Fig 1.:
https://fenix.tecnico.ulisboa.pt/downloadFile/1970719973967508/Resumo%20alargardo.pdf

For the exemple, I want to validate and raise a Warning if an (Business Process for exemple) doesnot have one property (Unit Time Estimate (min)).

How can i do that ?

Phil Beauvoir

jArchi, the scripting framework for Archi, would probably fulfil your requirements.

See https://github.com/archimatetool/archi-scripting-plugin
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

tpedot

Thanks for your feedback.

I saw jArchi and I may consider making a donation. Can you provide an exemple / documentation on how to use it ?

Thanks in advance and thanks for this nice tool.

Phil Beauvoir

The core documentation is on the wiki:

https://github.com/archimatetool/archi-scripting-plugin/wiki

The download comes with some simple example scripts. There are also some tips here in the jArchi sub-forum.

More examples on GitHub:

https://gist.github.com/search?utf8=%E2%9C%93&q=%23jarchi+extension%3Aajs&ref=searchresults
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.