cancel
Showing results for 
Search instead for 
Did you mean: 

Add permission when clicking on Reassign task

ITShine_
Star Contributor
Star Contributor

I'm using Nuxeo IDE 7.10 , i want to add a permission to the current user when clicking on reassign task button(Workflow). Maybe i should use the operation Document.AddPermission but i don't know how, can you tell how to do this ?

Here is the widget of the button :

<widget name="reassign_task_widget" type="documentActionWithForms">
        <fields>
          <field>#{routingTaskActions.getTaskInfo(layoutValue,
            true)}
          </field>
        </fields>
        <properties widgetMode="any">
          <property name="actionId">reassignTask</property>
          <property name="actionStyleClass">smallButton</property>
          <property name="actionsDisplay">buttons</property>
          <property name="useAjaxForm">true</property>
          <property name="ignoreTemplateProperty">true</property>
          <property name="actionContextDocument">#{layoutValue.getDocument()}
          </property>
        </properties>
        <widgetModes>
          <mode value="any">#{routingTaskActions.canBeReassign()?'edit':'hidden'}
          </mode>
      </widget>
0 REPLIES 0
Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.