Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Enabling user substitution

Excerpt
  1. Run the database script <BPS_HOME>/dbscripts/bps/bpmn/create/activiti.<DB_Name>.create.substitute.sql against your BPMN engine's database to add the Substitution related table.
Excerpt
  1. Open the activiti.xml file found in the <BPS_HOME>/repository/conf/ directory and uncomment the following configuration.

    Code Block
    languagexml
    <bean id="userSubstitutionConfiguration">
        <property name="enabled" value="true"></property>
        <property name="enableTransitivity" value="false"></property>
        <property name="activationInterval" value="60"></property>
    </bean>
PropertyValueDescription
enabledtrueSet to true to enable the substitution feature.
enableTransitivitytrueSet to true to enable substitution to transitive substitutes if the provided substitute is not available, as explained above.
activationInterval<scheduler running interval in minutes>A scheduler is running to activate scheduled substitutions and update transitive substitutes if transitivity is enabled. Specify the time interval in minutes that the scheduler should run. The scheduler activates a given substitution in the time frame specified here.

...