Fork me on GitHub

Module NotifyGru Ticketing

Introduction

The resource provider (ticket) NotifyGru Ticketing is the link between the NotifyGru task and ticketing plugin.. Indeed, NotifyGru is designed to work with any implementation of the abstract class fr.paris.lutece.plugins.workflow.modules.notifygru.service.AbstractServiceProvider Itself implements the interface fr.paris.lutece.plugins.workflow.modules.notifygru.service.IProvider which defines the basic methods of providers.

Implémentation

icketing Module NotifyGru is implemented resource provider, that is to say that only one instance of this implementation allows to provide all information on ticketing plugin. This has the consequence of having a property value managerProvideralwaysFALSE to indicate that we have a unique instance of this service

In the context file, we like reporting BEAN :

Provider use

When the task is originally created and the selected provider, the instance of the latter gives the information available via bookmarks.. These bookmarks can be used to set messages or objects of different tabs :

  • Civility ${civility}
  • First name ${firstname}
  • Name ${lastname}
  • Référence ${reference}
  • Reference ${ticket_domain}
  • Nature of the request ${ticket_type}
  • Assigning Entity / Agent ${unit_name}
  • problematic ${ticket_categorie}
  • Comment ${comment}
  • Fashion Contact ${contact_mode}
  • Phone ${fixed_phone}
  • Cellphone ${mobile_phone}
  • Mail ${email}
  • seized URL ${url_completed}
  • user message ${user_message}

When performing the task NotifyGru, the provider instance provides all the necessary information to build the JSON stream.