Question

Business rule disappears each time I modify the code

Hello community,

 

I have an issue with a business rule. I don't know why is it happening, but I set my business rule correctly from the designer, and each time I alter or modify the code that br disappears. I have noticed that after saving the br, it does not appear in the page module at businessRules { .... }. What could be the cause of this?

 

Thank you.

Like 0

Like

2 comments
Best reply

Hello,

 

This can be related to the "Current package" system setting and where the code of the rule is saved (in which schema). This can be also related to the issues with the code in the diff of the schema (I had a case when the customer implemented the IFrame and added it to the page diff and each time the customer modified something in the wizard all the code from the schema disappeared and the issue was in the missing parentName in one of the elements in the diff that should have it).

 

What happens if you remove all the code from the schema and save changes in the wizard? The rule remains in the schema or disappears? 

Hello,

 

This can be related to the "Current package" system setting and where the code of the rule is saved (in which schema). This can be also related to the issues with the code in the diff of the schema (I had a case when the customer implemented the IFrame and added it to the page diff and each time the customer modified something in the wizard all the code from the schema disappeared and the issue was in the missing parentName in one of the elements in the diff that should have it).

 

What happens if you remove all the code from the schema and save changes in the wizard? The rule remains in the schema or disappears? 

Oleg Drobina,

I think I had some issues with the code, but not in diff. I had something added to attributes {...} and methods {...}. I solved my problem by deleting them, setting the business rule and putting back my functions.

Thank you!

Show all comments