on ‎2018 Jun 07 1:58 PM
Hi All, I have a requirement to synchronize only approved Products. For this I created a Search Restriction as
{approvalStatus}=({{select {a.pk} from {ArticleApprovalStatus as a} where {a.code}='approved'}})
and associate a User for that restriction. Assigned the same User to CatalogVersionSyncJob as sessionUser. Now When am doing a single product synchronization, it synchronized even though approval status as Check.
Note: We are using Hybris 5.7 version.
If I missed anything to that work, please give me some pointers.
Request clarification before answering.
Hi,
I think you need to create a JobSearchRestriction on the job
INSERT_UPDATE JobSearchRestriction; code[unique = true] ; type(code); job(code); query
; approvedRestriction ; Product ; yourJob ; "{approvalStatus}=({{select {a.pk} from {ArticleApprovalStatus as a} where {a.code}='approved'}})"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.