The /atg/commerce/order/abandoned/AbandonedOrderService is a schedulable service that has two important functions:

The following table describes each AbandonedOrderService property you may want to configure:

Property

Description

Default value

orderStatePropertyName

The order property that stores the state of the order.

state

dateQueryPropertyName

The order property to use when determining how long an order has been idle.

abandonmentInfo.orderLastUpdated

idleDaysUntilAbandoned

The number of days that an order must be idle for it to be considered abandoned.

7

idleDaysUntilLost

The number of days that an order must be idle for it to be considered lost. If AbandonedOrderTools.deleteLostOrders is set to true, you can use the processLostOrders method of AbandonedOrderService to delete such orders.

30

minimumAmount

The minimum amount that an order must cost for it to be considered abandoned or lost (for example, “10.00”).

Set this property to zero or leave it unset if you do not want to use order price as a criterion.

0

subtotalPropertyName

The OrderPriceInfo property to use when determining if an order satisfies the “minimum amount” criterion for identification as abandoned or lost.

Set this property to rawSubtotal (the default) to use the order’s price before promotions, taxes, and shipping costs are applied. Alternatively, use “amount” to use the order’s price after these items are applied.

rawSubtotal

priceInfoPropertyName

The order property that stores the order’s OrderPriceInfo object.

priceInfo

abandonedOrderTools

The AbandonedOrderTools helper component. (See Configuring AbandonedOrderTools below.)

/atg/commerce/order/abandoned/AbandonedOrderTools

jobName

The name of the scheduled job to run.

AbandonedOrderService

jobDescription

A description of the scheduled job.

Identify abandoned and lost orders

schedule

The schedule by which to run AbandonedOrderService jobs.

every day at 3:00 AM

scheduler

The Scheduler service that should keep track of AbandonedOrderService jobs and call on this service to execute them.

/atg/dynamo/service/
Scheduler

clientLockManager

The client lock manager that should ensure that only one instance of this service is running at a given time.

/atg/dynamo/service/
ClientLockManager

lockName

The name of the global write lock that identifies this service.

AbandonedOrderService

lockTimeOut

The maximum time in milliseconds to wait for a lock. To wait indefinitely, set this property to zero.

2000

transactionManager

The TransactionManager used by this service.

/atg/dynamo/transaction/TransactionManager

maxItemsPerTransaction

The maximum number of items to include in a single transaction.

1000

 
loading table of contents...