The Abandoned Order Services module includes the following scenario actions to respond to user activity on abandoned orders:

All of the scenario actions listed above are utilized in the Abandoned Orders scenario that is provide out-of-the-box. For information on this scenario, see the Managing Abandoned Orders chapter in the ATG Commerce Guide to Setting Up a Store.

Set Order’s Last Updated Date

This action checks whether the given order has an abandonmentInfo item and, if it does not, creates one and associates it with the order. It then updates the orderLastUpdated property of the order’s abandonmentInfo item with the current date and time.

Action Registry Tag

Value

action name

Set Last Updated

configuration component

/atg/scenario/configuration/SetLastUpdatedConfiguration

action execution policy

individual

action error response

continue

The Set Order’s Last Updated Date action has the following parameters:

Parameter

Is required?

Description

orderId

yes

The ID of the order that has been modified by the user.

See also SetLastUpdatedDroplet in Appendix: ATG Commerce Servlet Beans of the ATG Commerce Guide to Setting Up a Store.

Reanimate Abandoned Order

This action reanimates an abandoned or lost order. More specifically, it does the following:

Note that if the given order is not abandoned or lost, the action does nothing.

Action Registry Tag

Value

action name

Reanimate Abandoned Order

configuration component

/atg/scenario/configuration/ReanimateAbandonedOrderConfiguration

action execution policy

individual

action error response

continue

The Reanimate Abandoned Order action has the following parameters:

Parameter

Is required?

Description

orderId

yes

The ID of the reanimated order.

See also ReanimateAbandonedOrderDroplet in Appendix: ATG Commerce Servlet Beans of the ATG Commerce Guide to Setting Up a Store.

Convert Abandoned Order

This action converts an abandoned, reanimated, or lost order. More specifically, it does the following:

Note that if the state property in the order’s abandonmentInfo item is null, then the order has never been abandoned, and the action does nothing.

Action Registry Tag

Value

action name

Convert Abandoned Order

configuration component

/atg/scenario/configuration/ConvertAbandonedOrderConfiguration

action execution policy

individual

action error response

continue

The Convert Abandoned Order action has the following parameters:

Parameter

Is required?

Description

orderId

yes

The ID of the converted order.

See also ConvertAbandonedOrderDroplet in Appendix: ATG Commerce Servlet Beans of the ATG Commerce Guide to Setting Up a Store.

Log Promotion Information

This action logs promotion-related information for a converted order. It calculates the number and total value of the promotions applied to the converted order and stores the information in a convertedOrder item in the AbandonedOrderRepository.

Action Registry Tag

Value

action name

Log Promotion Information

configuration component

/atg/scenario/configuration/LogPromotionInfoConfiguration

action execution policy

individual

action error response

continue

The Log Promotion Information action has the following parameters:

Parameter

Is required?

Description

orderId

yes

The ID of the order whose promotion information is to be logged.