cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Workflow- how to remove it [answered]

shawnhy
Champ in-the-making
Champ in-the-making
simple workflow provides a quick action to approve or reject a content and make a corresponding action.

How do I remove a workflow? I only see "edit" over the panel. Thanks
3 REPLIES 3

alexander
Champ in-the-making
Champ in-the-making
I think you need to add "Completed tasks" panel on your Dashboard.

shawnhy
Champ in-the-making
Champ in-the-making
I think you need to add "Completed tasks" panel on your Dashboard.

Hi aldxander,

Maybe I didn't describe my question very well.  Smiley Surprisedops:
I apply a simple workflow from view detial>run action>add simple workflow to item. When sucessed, i can drag down more actions from the view and click the command (normally approve and reject).

However, how can i erase this action after create it? One way is clicking one of the commands and making it move, then moving it back where it used to be. The simple workflow will disappear. I think it can be smarter. :wink:

paulhh
Champ in-the-making
Champ in-the-making
Hi

The simple workflow works by tagging an item with an aspect that defines the approve/reject move/copy.  The aspect is named "app:simpleworkflow".  By using any of the means available, you can remove this aspect and the object will effectively have the simple workflow cancelled.

You can remove an aspect via the UI if that aspect is defined as visible in the custom-web-client-config.xml in a block like:
   <config evaluator="string-compare" condition="Action Wizards">
       <aspects>
         <aspect name="generalclassifiable"/>
         <aspect name="complianceable"/>
         <aspect name="dublincore"/>
         <aspect name="effectivity"/>
         <aspect name="summarizable"/>
         <aspect name="versionable"/>
         <aspect name="templatable"/>
         <aspect name="emailed"/>
         <aspect name="app:simpleworkflow"/>
      </aspects>
   </config>

Then it will show up in the action for removing an aspect (Rules or Run Action).  However, this also means it shows up in the Add Aspect list, which probably isn't so nice.

Alternatively, write a bit of Javascript to remove the aspect and add it as a custom menu action.

At some point in the future, we will implement the simple workflow on top of the advanced workflow, so that there will not be this aspect or other differences.

Cheers
Paul.