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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Code to prevent CT completion with checked out files

doehr
1-Newbie

Code to prevent CT completion with checked out files

Hello PDM-Link gurus,

What would be the code I need to put into the Complete Transition of a Change Task user activity to prevent them from completing the task if any of the Resulting Object files on that change task are checked out, and spit out a popup window saying "Please check in all Resulting Objects before proceeding"? If a Set State robot hits a checked-out file it freezes the task with the oh-so-fun Failed Queue Entry error and we've been getting hit by that a couple of times now, so I need to prevent it.

Please advise,

Daryl

1 ACCEPTED SOLUTION

Accepted Solutions
BineshKumar1
12-Amethyst
(To:doehr)

Hello Daryl,

I have used the code in Prevent Complete Task if an object is checked out?

and it worked great.

Regards

Binesh Kumar

Medtronic - MITG

View solution in original post

2 REPLIES 2
BineshKumar1
12-Amethyst
(To:doehr)

Hello Daryl,

I have used the code in Prevent Complete Task if an object is checked out?

and it worked great.

Regards

Binesh Kumar

Medtronic - MITG

Worked like a charm! Damn that was quick, thanks!

Top Tags