Cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete objects from targets of Workflow process?

Legend
Legend
I need to delete objects (of Form type) wich related with ItemRevision via TC_Validation relation at the last step of my Workflow process. To delete - it mean delete absolutly, not remove( remove_from_targets) Each form has it's own owner, i can't delete this forms cause my tc_user has no such privilegue. Is it possible to delete objects in workflow, may be via change ownership before deleting? Do i need write my custom action hander for that or I can use base eamcente Workflow functionality?
3 REPLIES

Re: How to delete objects from targets of Workflow process?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

You can specify separate ACL settings for the objects in a workflow without a handler.

Do this in the workflow properties dialog.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: How to delete objects from targets of Workflow process?

Legend
Legend
But ACL settings reflect only TARGET objects, my Forms is not target objects. I start process passing ItemRevision as target. As I understand - ACL works only for target objects. Or I'm not right?

Re: How to delete objects from targets of Workflow process?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Have you tried if you really need to add the documents as targets?

 

I have never had to delete something with a workflow, so I cannot tell if this is working at all.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide