cancel
Showing results for 
Search instead for 
Did you mean: 

Unity API -- removing a document from a lifecycle

Rick_Danley
Champ in-the-making
Champ in-the-making

Is there a way to remove a document from a life cycle using the Unity API?  I'm looking for something that's opposite of Application.Workflow.AddDocumentToLifeCycle().

Thanks.

8 REPLIES 8

Shane_Cook
Star Contributor
Star Contributor

Application.Workflow.RemoveFromLifeCycle().

The SDK explains the three parameters required. 

How do you determine the current lifecycle of the document?

Jon_Jacobs
Champ in-the-making
Champ in-the-making

>Application.Workflow.RemoveFromLifeCycle().

Wonderful! I have needed that method for a long time. In which version was that introduced? (I don't see it in the 11.0 SDK)

Thanks,

Timothy_Cosgrif
Star Collaborator
Star Collaborator

RemoveFromLifeCycle was introduced in OnBase 13 as well as the ability to add and remove documents, workview objects, and managed folders to Workflow.