Skip to main content
1-Visitor
May 27, 2016
Solved

Code to prevent CT completion with checked out files

  • May 27, 2016
  • 2 replies
  • 1286 views

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

Best answer by BineshKumar1

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

2 replies

2-Explorer
May 27, 2016

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

doehr1-VisitorAuthor
1-Visitor
May 27, 2016

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