My First Theme

Páginas: 7 (1554 palabras) Publicado: 13 de marzo de 2013
10/03/13

My first BPM Application
Search Go

Home

C ategories

Statistics

New Pages

Recent Pages

To be defined pages

User's Groups

User: anonymous Log in Register

Recents:

Be ginne rs in Ge ne Xus BP…

My first BPM Application

Artic le

Talk Properties History Backlinks Forward links Views

My first BPM Application
Brasilian Portuguese: Para acessar oexemplo completo em Português Brasileiro, clique aqui

The best way to explain what a Workflow is, is by using examples. A simple one could be that of booking flight tickets. The steps could be to enter the reservation data through an op customer is not registered, the system automatically does it. Next, an availability check is made and if the result of this check is positive, the process iscompleted. Otherwise, the cont the first item, where the details can be changed.

This simplified example has only a few steps, but they are well communicated, diagramed and consistent. Here lies the importance of a Workflow: to automate controls that can be au least possible intervention from programmers. By following simple steps, a developer can build robust Workflow applications in GeneXus.

Insum, the idea behind a Workflow process is that a tight integration of the available tools (GeneXus tools, in this case) can provide seamless collaboration among all the information company, thus accelerating management processes and driving the business forward in a dynamic, vertical manner. Here you have a simple, practical example that illustrates the steps needed to complete it: Creating theprocess objects Creating the activity diagram that models the process Associating objects to the diagram Running the process

This is a simple example that shows you how to use GXflow within the IDE. It represents a simplified process for booking airline tickets, which consists of entering the reservation deta system, with the operator registering any customer that is not registered. If thecustomer is registered already, the control will go straight to checking availability. If the reservation is process ends, and if it's not available, the flow will return to where the reservation was entered to update the data. Step 1: Creating the objects that will be part of the process Two transactions will be needed: Reservation and Customer.
Reservation Transaction

Notes: To represent theprocess more clearly, we suggest defining the ReservationAvailable attribute as a checkbox with 1 and 0 values for 'selected' and 'not selected' status, respe that the CustomerId attribute is defined to allow nulls, which is necessary for the example to work properly. Rules Rules to make the ReservationAvailable attribute and the corresponding form tag invisible, as this attribute is used when thereservation is already entered and you want to indicate available or not. Rsrainvial.iil =FleI Isr; eevtoAalbeVsbe as f net TxBokeevtoAalbeVsbe=FleI Isr; etlcRsrainvial.iil as f net
Customer Transaction

A ssignToCustomer Procedure

We have the following procedure: Once the reservation and user are entered, it assigns that reservation to that user. Rules Pr(n&eevtoI,i:CsoeI) ami:Rsraindn&utmrd; Variables ReservationId (based on the ReservationId attribute) CustomerId (based on the CustomerId attribute) Code Frec o ah WeeRsraind=&eevtoI hr eevtoI Rsraind CsoeI =&utmrd utmrd CsoeI Edo nfr Step 2: Creating the activity diagram that models the process

wiki.gxtechnical.com/commwiki/servlet/hwiki?My+first+BPM+Application,

1/8

10/03/13

My first BPM Application

To add anactivity diagram all we have to do is add the ActivityDiagram GeneXus object, like we do with any other object.

Step 3: Associating the objects to the diagram The first associated object will be the Reservation transaction. To associate it, drag it from the Folder View to the line that connects the Start and End connectors in the diagram.

Relevant data with the same name and data type as the...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • My Very First Journey
  • My First Trip
  • My Themes
  • My first trip to the big apple
  • My first car
  • My First Robot
  • themen
  • My first day at school

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS