Disabling Group and Pooled Review option in workFlow

cancel
Showing results for 
Search instead for 
Did you mean: 
raghunandangowd
Active Member II

Disabling Group and Pooled Review option in workFlow

Hi,

Can anyone tell how to disable(or remove) the Group review, one or more reviewer and Pooled review from the Workflow menu. I need only Single Review workflow.

Thanks in advance,

Raghu

4 Replies
jayesh_prajapat
Established Member

Re: Disabling Group and Pooled Review option in workFlow

Hi

This can be done using share-config-custom.xml. All you need to do is, mention workflow name which you want to hide under <hidden-workflows> tag. See following sample,

<config evaluator="string-compare" condition="Workflow">
   <hidden-workflows>
      <workflow name="activiti$activitiReviewPooled"/>
   </hidden-workflows>

   <hidden-tasks>
      <task type="doc:*"/>
      <task type="doc:*"/>
   </hidden-tasks>
</config>

Hope this will help!

raghunandangowd
Active Member II

Re: Disabling Group and Pooled Review option in workFlow

Hey Jayesh,

Your suggestion is worked only for pooled review. I wanted the disable the group review and one or more reviewers task also so i added the same code for group review and used the below code for Group Review. It didn't work. Where I should make it right to get it work.?

<config evaluator="string-compare" condition="Workflow">
   <hidden-workflows>
     <workflow name="activiti$activitiGroupReview"/>
   </hidden-workflows>
   <hidden-tasks>
      <task type="doc:*"/>
      <task type="doc:*"/>
   </hidden-tasks>

Thanks in advance,

Raghu

jayesh_prajapat
Established Member

Re: Disabling Group and Pooled Review option in workFlow

Hi Raghunandan P

You need to mention right workflow name in above condition to hide. Check if 'activiti$activitiParallelGroupReview' works or check share-workflow-form-config.xml to know workflow names.

Hope this will help you!

raghunandangowd
Active Member II

Re: Disabling Group and Pooled Review option in workFlow

Hi Jayesh Prajapati

 It got worked. Thank you so much. Smiley Happy

Regards,

Raghu