cancel
Showing results for 
Search instead for 
Did you mean: 

Determining items in a workflow

rdifrango
Champ in-the-making
Champ in-the-making
I am trying to approximate the Submit all so that it can be executed directly from a portal and I am trying to figure out how the UI is able to generate the following message:

"The following items cannot be submitted as they are already part of a workflow."

How can I determine if a given item in a users sandbox is already part of a workflow?
1 REPLY 1

rdifrango
Champ in-the-making
Champ in-the-making
I found that the class org.alfresco.web.bean.wcm.AVMWorkflowUtil contains the correct helper methods, but I have to use the Cut & Paste anti-pattern because it requires a FacesContext in order to work properly.