Use this information to install and configure an AMP for linking Content Services to Alfresco Process Services (APS).
When Content Services and Process Services are linked, a folder rule action can be configured that starts a Process Services process when a document is added into the folder. This is called an APS action.
To configure an APS action there are several prerequisites that must be met:
- Content Services installed.
- Process Services installed.
- Content Services and Process Services using a common LDAP database to sync users from.
Note: If Content Services and Process Services do not sync their uses against a single LDAP database then an APS action will never work. See configure LDAP for Content Services and configure LDAP for Process Services for information on configuring LDAP.
Install the AMP
To install the APS action AMP:
Visit the support portal and download the APS action zip bundle.
Unzip the bundle and place the
aps-action-share-6.2.1.ampto the Content Services
apply_amps.batfile from the
bindirectory to install the AMP.
Check the output from the
.batfile to ensure the installation was successful.
Restart the Content Services server.
Configure the repository in Process Services
To configure the repository in Process Services:
Sign into Process Services as an administrator.
Open up the Identity Management section and select Tenants > Alfresco Repositories.
Create a repository connection:
Field Description Name Required. A name for the repository connection. Alfresco tenant Optional. The tenant to use for the connection. The default value is
Repository base URL Required. The base URL of Content Services, for example
Share base URL Required. The base URL of Share, for example
Alfresco version Required. The version of Content Services used. This must initially be configured as
5.2, even if using a later version of Content Services. The settings can be subsequently edited if using Process Services 1.11 or later with the Identity Service.
Authentication Required. The authentication method to use. Select
Enable Share Connectorcheckbox.
Secret Required. The common secret used for communication between Content Services and Process Services. The default value us
activiti-share-connector-secret. This must match the property
activiti.secretset in Content Services.
Save the connection.
Inspect the connection in the list. If the
1and the default values do not need to be updated then this step is complete. If the
IDis not set to
1then stop Content Services and Process Services and update the following two files with the
IDshowing in the repository list:
tomcat/shared/classes/alfresco-global.propertiesin Content Services add a line for
<ID>was the ID displayed in Process Services, for example
tomcat/lib/activiti-app.propertiesin Process Services update the property
1is replaced with the ID displayed in Process Services, for example
Enable review process app
To enable the bundled Review Processes app in Process Services, add the following into the
<InstallLocation\>/lib/activiti-app.properties and restart Process ServicesL
Configure Content Services properties
Content Services needs properties set in the
tomcat/shared/classes/alfresco-global.properties file that point to the Process Services installation and enable the use of APS actions:
|activiti.domain||The domain that Process Services is running on, for example
|activiti.baseUrl||The base URL of the Process Services installation.|
|activiti.secret||The common secret Content Services and Process Services use for communication. The default value is
|activitiRepoConnector.enabled||Set this to