We are using Sitecore Commerce Connect to sync the data from Hybris to Sitecore. Currently on click of Product Sync button from the content editor ribbon, it calls a command: Sitecore.Commerce.Commands.Products.SynchronizeAllProducts, Sitecore.Commerce
to sync the products.
But we wanted to schedule this Sitecore Commerce Connect product sync as a daily batch job.
Basically the default Product Sync command ( Sitecore.Commerce.Commands.Products.SynchronizeAllProducts, Sitecore.Commerce
)
should be invoked by a Batch job, I have followed the below steps:
- Created a command item and Mentioned the Type as
Sitecore.Commerce.Commands.Products.SynchronizeAllProducts, Sitecore.Commerce
and Method asExecute
- Created a schedule item and associated the above command.
But when the scheduler executes, I am getting an error:
Execute method NOT found
I have tried with StartProcess
method as well. It didn't work for me. Can you please advise?
Regards, Sharath