Document Tree
Document Properties
Kbid
313R05
Last Modified
24-Oct-2024
Added to KB
24-Oct-2024
Public Access
Everyone
Status
Online
Doc Type
Guidelines
Product
  • ICM 7.10
  • ICM 11
Guide - 7.10.38.28 Default Process Chain Timeout Adaption

Table of Contents


Introduction

This migration guide applies to 7.10.38.28-LTS and 7.10.41.0 and 11.2.0.

Process chains are a commonly used feature in Intershop Commerce Management (ICM). Executing jobs or pipelines in a process chain that get stuck can create long feedback loops and unnecessarily waste resources. Therefore, the default timeout defaultChainElementTimeout (specified in minutes) for all chain elements (sequence, concurrent, job, pipeline) has been changed from twenty-four hours to one hour. Only if you have very long running tasks that exceed one hour will you need to adjust this timeout in your process chain(s) as described below.

References

Migration

You can set the global chain element timeout (defined in minutes) on the chain element with defaultChainElementTimeout.

Example of global chain element timeout set to three hours:

[...]
<p:chain
    xmlns:p="http://www.intershop.com/xml/ns/enfinity/6.4/core/processchain"
    name="Chain 1"
    defaultChainElementTimeout="180"
>
[...]

Alternatively, the timeout can be individually set on the respective chain element with timeout.

Example of sequence timeout set to three hours:

[...]
<p:sequence name="Chain 1.1 - Sequence" timeout="180">
    <p:description>Sequence example which runs into timeout after 3 hours (60*3 = 180) if not completed</p:description>
    <p:job job="ExampleJob" name="Chain 1.1.1 - Job" />
    <p:pipeline pipeline="ExamplePipeline" name="Chain 1.1.2 - Pipeline" />
</p:sequence>
[...]

A third option would be to set the timeout programmatically on the respective chain element.

Example of sequence timeout set to three hours:

[...]
ProcessChainTask sequence = new SequenceImpl(exampleTask);
sequence.setTimeout(3);
sequence.setTimeoutUnit(TimeUnit.HOURS);
[...]

Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.