How to force override rules while re-importing product file v7.1.5?
Our inital import of product file was incomplete due to some error, when we try re-importing the same product file, it skipps all rules. How do we force override rules while we re-importing the same product in v 7.1.5. Please advice
***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
because the during our inital import the system table pr_sys_decchg is not updated due to some error. we want to re-import and overide the declare expression rules to get the declarative network updated ( i mean the pr_sys_decchg table updated).
Out of the box, there isn't any way to override any rules that are already in there and have not been modified. You could save your rules to a higher ruleset version and then they would be imported and pr_sys_decchg would be updated. Alternatively, you could look at how pr_sys_decchg is being populated and do the same thing in an activity. There may be other ways as well, but if you'd like to look into this more, you can open an SR and we'll work with you regarding this.
A good approach to get around this is by doing a re-validate and save of the declare expression rules using the revalidate tool. Doing this should most likely give you an error in front end, if at all the pr_sys_decchg table is not getting updated due to some error in the declare expression rule references; in which case you can isolate the problem as well.
I am just copy-pasting the details of the revalidate and save tool below ...
The Revalidate and Save tool is useful in various situations, including the following:
After you import a ZIP file archive of rules that may depend on rules previously present, or that were exported from a lower-version PRPC system.
To confirm that rules pass current validation requirements.
To propagate the effects of changes you made to some rules to other rules that reference those rules.
This operation is similar to opening and then saving each selected rule or data instance. If an instance fails validation, the previous version is unchanged.
Every saved rule or data instance was previously validated at least once, at the time it was most recently saved. The instance was valid at that time in the environment, system, and context in which it was saved. Revalidation is desirable to confirm that nothing in the current environment makes the object invalid.