Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi All,
In WC11 I am using - WorkInProgressHelper.service.checkin(obj, ""); API to checked in the drawing and after checked in automatically CAD Worker was getting published.
But In WC12 when I am using the same object is getting checked in but job is not getting triggered .
Could you please suggest me which API should I used to trigger Publish through code.
Thanks.
Hi @BA_10670508
There can be different configuration. Your wch 12 system do not contains configuration that allows publish automatically after check in..
I would check this first. If the publish job is done for normal checkin models.
PetrH
Hi @HelesicPetr ,
Yes when we are doing normal checkin through UI then publish job is working fine. But through code it is not working.
Thanks.
Do you use publish rules?
If so there are several types of events. on checkin, on schedule, on unknown-source
If the rules do not contains unknow-source that is explanation why it does not work.
The check-in from custom code is the unknown-source
Check it
PetrH