Hi ivyteam

I'm using ivy 7.0.3 with rules functionality. By default the rule will be stored in <project source>\rules . My question is: Can we configure to load rule from external folder?

Thanks

asked 04.06 at 02:09

trungdv's gravatar image

trungdv
445607797
accept rate: 52%

edited 04.06 at 06:32

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
7.1k11342


Yes that should be easy, but there is no generic configuration to change that directory. But rules can be loaded from anywhere. Just implement an IRuleResource that is able to load files from an external directory. Other teams did the same to load rules out of a Database.

https://developer.axonivy.com/doc/latest/PublicAPI/ch/ivyteam/ivy/rule/engine/api/resource/IRuleResource.html alt text

link

answered 04.06 at 05:16

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
7.1k11342
accept rate: 70%

edited 04.06 at 05:20

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×16
×4

Asked: 04.06 at 02:09

Seen: 97 times

Last updated: 04.06 at 06:32