![](/cvo_files/imgs_sap_abap/logos/logo_cvo_academy_it.png)
✒️ABAP El WorkFlow Builder y la creación de Pasos
ABAP El WorkFlow Builder y la creación de Pasos
![ABAP El WorkFlow Builder y la creación de Pasos ABAP El WorkFlow Builder y la creación de Pasos](https://www.cvosoft.com/cvo_files/imgs_sap_abap/og-images/130.jpg)
Workflow Builder and Step Creation
The Workflow Builder is the tool used to create and edit the definition of a workflow.
With the Workflow Builder, we can define, among other things:
- Steps
- Event triggers
- Data interface (defined in the workflow container).
The characteristics of the Workflow Builder are as follows:
- It presents a navigation and visualization area.
- It's a block-oriented model.
- Top-down modeling is possible.
- It has special functions such as cut, paste, move, copy, and print.
- It allows for the verification and activation of workflows.
- It has drag and drop functionality.
- Steps and events are graphically displayed in a network.
- Each workflow definition is assigned to a user responsible for its administration.
Definition of Steps
Step - A step indicates a specific activity within the workflow definition, meaning it's a "step" of the process.
The definition of a workflow is composed of individual steps. When creating a step, the type of step must first be specified. These can be:
- Steps that refer to business activities: activity, user decision, document from template.
- Steps used for internal process control: condition, multiple conditions, UNTIL loop, WHILE loop, container operation, event creation, event waiting.
Each step is the determining element of "its" block. Operations in individual steps always concern the entirety of the block to which it belongs. The sequence of step processing depends on the result of the preceding step.
Creation of Steps
To create a step, follow these points:
- Enter the Workflow Builder (transaction SWDD).
- Open the workflow you want to work with or create a new one.
- Double-click on an undetermined step (in the position of the workflow that corresponds).
- Select the step type, for example, activity.
- Then, you'll see the screen to define the activity. An activity refers to a task, which refers to a method of a Business Object. Therefore, all the characteristics of the Business Object method will pass to the task and then to the step.
- In the case of activities, you'll need to enter the task code. The system will automatically generate or propose the bindings between the workflow container and the task container (however, it's always advisable to review what the system proposes).
- Once the task and binding are assigned, the attributes of the task pass to the step (task characteristics and step characteristics).
- Then, configure the step outputs. In the case that the method you execute generates different results, these will appear in the output box, and you can enter a text to document them in the workflow.
- The more outputs the step has, the more workflow lines will open.
- Also, the step can be configured so that when it finishes executing, it sends a notification to someone in the form of an email. This is configured in the "notification" area.
- Then, and if applicable, you can configure the step times. That is, when a work item is created, the execution times of that work item can be controlled, and certain actions taken.
First, you can configure a deadline. That is, if a certain deadline is met since the responsible user receives the work item and takes no action, a decision can be automatically made.
The deadline is configured considering the workflow creation date, the work item creation date, or a date added as a variable in the workflow container.
Then, you set the deadline and finally define what action to take. Either an email is sent to someone (for example, a superior of the responsible person), or a subworkflow can be modeled to act in case the deadline is reached.
Then, you can configure a later start date and a desired end date. The configuration of these dates is done in the same way as with the deadline.
In the methods part, you can configure the step with a certain number of programs that will run before or after the step is executed (in addition to the programs that run with the task-associated method).
Finally, you can indicate the priority of the step (this value will trigger visual notifications to the user upon receiving the work item) and background task execution characteristics.
These are the steps to create an "activity" type step. Then each step will have its own characteristics and ways of configuration.
 
 
 
Sobre el autor
Publicación académica de Jaime Eduardo Gomez Arango, en su ámbito de estudios para la Carrera Consultor ABAP.
Jaime Eduardo Gomez Arango
Profesión: Ingeniero de Sistemas y Computación - España - Legajo: SW34C
✒️Autor de: 149 Publicaciones Académicas
🎓Egresado de los módulos:
- Carrera Consultor en SAP Fiori
- Carrera Consultor ABAP Nivel Avanzado
- Carrera Consultor ABAP Nivel Inicial
Disponibilidad Laboral: FullTime
Presentación:
Ingeniero de sistemas y computación con 8 años de experiencia el desarrollo frontend & backend (react/node) y en cloud (aws), actualmente desarrollando habilidades en sap btp, ui5, abap y fiori.
Certificación Académica de Jaime Gomez