cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

API to do automatic publishing after checked in for DRW

BA_10670508
6-Contributor

API to do automatic publishing after checked in for DRW

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.



@HelesicPetr 

 

3 REPLIES 3

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.

@BA_10670508 

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

Announcements

Top Tags