SiteGenesis Jobs

These jobs will allow you to manage post origination actions from salesforce.

Overview

These jobs will allow you to manage post origination actions from salesforce. You will be able to manage the following:

  • Shipped - Set a delivery date for Katapult to know when funding should begin.
  • Cancel - Cancel the entire order
  • Completed - Mark an order for not to be reprocessed
  • Cancel Item - Cancel the items individually

*Your integration must provide the update line items in the SFCC.

You can Update Line Items through:

OCAPI (Open Commerce API)

Add a Hook to POST order update to the cancel item endpoint. Like below:

703703

XML

The xml file must have a content like below:

793793

A test controller was created. In this controller we pass the parameters in the url, where the “CancelItem” is the controller, “cancelItem” is the method, “oid” is the order ID and the “oli” is order line item.

See a example url below:

429429

To avoid change Scope everytime, was created one JOB to SFRA and another to SiteGenesis:

934934

Go to Administration > Operations > Jobs

Open the Job katapultOrderUpdateSG

10291029

Verify that the steps has selected the Scope option for your SiteGenesis, go to tab Job Steps

Select your RefArch scope and press Assign

10291029

Press the button Run Now to execute it, this job will update in Katapult’s platform the Delivery Date, the orders to Canceled, the orders with Canceled Items and the Completed orders to not be reprocessed.

You will see that the job was completed at the bottom of the page in the Schedule and History Tab, as well as the log file that includes what orders were updated in the Katapult platform

10291029

This is a row of the log from the order we canceled before in Salesforce, that includes information about the order number and the ID from Katapult's platform

10291029

Configuring Job Schedules

To configure schedules in Katapult job go to Administration > Operations > Jobs and open katapultOrderUpdateSG Job

Go to the tab Schedule and History

10291029

Configure when will be triggered the job, Once or Recurring

10291029

If you select Once select the date from the option when will be executed the Job

10291029

If you selected Recurring Interval select the date from when will starts the job and others parameters like how many times will be executed the Job, this is in the input Amount, Interval is to set with minutes, hours, days, weeks or months and for last, the days when will be executed the Job

10291029

Configuring Job Email Notifications

To configure schedules in Katapult job go to Administration > Operations > Jobs and open the katapultOrderUpdateSG Job

Go to the tab Notifications

Select the events you want notifications, add emails and automatically changes will be saved

687687

Did this page help you?