Dashboard > Tempo > ... > FAQ > Hide or Show action buttons in xforms-manager depending on the user > View
Tempo Log In   View a printable version of the current page.
Hide or Show action buttons in xforms-manager depending on the user
Added by Nicolas Modrzyk, last edited by Nicolas Modrzyk on Sep 11, 2008

Hide or Show action buttons in xforms-manager depending on the user

When you create a task, you need to send in some task metadata, and according to the Task Manager Service wsdl, we have 4 different actions available by default.

<xsd:element name="claimAction" type="tns:accessControlType" maxOccurs="1" minOccurs="0"/> 
<xsd:element name="revokeAction" type="tns:accessControlType" maxOccurs="1" minOccurs="0"/> 
<xsd:element name="saveAction" type="tns:accessControlType" maxOccurs="1" minOccurs="0"/> 
<xsd:element name="completeAction" type="tns:accessControlType" maxOccurs="1" minOccurs="0"/>

Each of them is of type accessControlType, as defined:

<xsd:complexType name="accessControlType">
 <xsd:sequence>
  <xsd:element name="user" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
  <xsd:element name="role" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>  
  <xsd:element name="authorized" type="xsd:string" minOccurs="0" maxOccurs="1"/>
 </xsd:sequence>
</xsd:complexType>

If nothing is assigned to those accessControlType, the related action will be available, and thus the button displayed by default.
If an assignment is made, then the action will be available only if the user or role matches.

With Intalio

The related action in designer is simply to create an assignment in the data mapper, on the process task initiating the create-complete pattern.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators