This section may be of interest if there are rule scripts in place that move the documents from SAP to a final folder structure and/or rename the files according the SAP original file name.
If there are Alfresco rules in place that rely on rule scripts used to react on SAP replicated metadata (such as to move / rename documents), you'll need to redefine the rule action script. In the former connexas versions, a special Patched Execute Script action was required to execute the related JavaScript. The Patched Execute Script selection has been removed since the product rebranding, so the underlying Id has changed. With this change, the selected JavaScript to be executed has also been removed. This means, the rule doesn't execute the selected script anymore.
The Patched Execute Script is still available in the new SAP Connector version, but it has a new internal Id.
Note
You'll need to edit each affected rule to re-apply the required action.
-
Identify the affected rules.
They're usually found in the folder for all incoming SAP documents (which may be defined by the property
sap.system.1.al.documentRootinalfresco-global.properties), as well as in the folder where the documents finally end up after moving them to the desired structure. -
Select the folder, click on action Manage Rules, then select the affected rule.
The Perform Action section is empty, which means nothing will happen. Also, this is not a valid state:
-
Click Edit to start editing the rule.
-
Scroll down to the Perform Action section, and select Patched Execute Script in the list. Finally, select the related JavaScript:
-
Save the rule and test it.
- Repeat these steps for all affected rules.