Petrel Workflow Editor
Schlumberger-Private
Workflow concept
A logical sequence of steps and tasks combined to describe a set of
processes, operations, and actions delineated by variable constraints.
Schlumberger-Private
Workflow editor interface (1)
2
0 4
Schlumberger-Private
Workflow editor interface (2)
1 2 3
4 5 6
Schlumberger-Private
Workflow editor interface (3)
Utilities Operations Processes
Utilities: Conditions, loops,
message commands,
comments and expressions
Operations: All actions used
to create or modify data
Processes: Almost all available
process in a 3D model creation
Schlumberger-Private
Create predefined workflows
5 4
Schlumberger-Private
Predefined workflows: Settings
1. To save time during the run, click Disable or enable the selection .
2. To add new objects, click Insert the selected command/process .
3. To recreate a workflow, click Auto generate workflow .
1
2
Schlumberger-Private
Predefined workflows: Update the processes
1. In the Workflow editor list, double-
click the process that is to be 1
updated.
2. Change the data in the dialog box
and click OK to save the new
settings and close the dialog box.
3. In the Workflow editor, click 2
Apply to update the workflow and
click Run to perform it.
3
Schlumberger-Private
With 3D grid and Set reference list
Schlumberger-Private
Utilities: Define your own operations
◼ Workflow editor syntax:
– Variables vs. Object Variables
– If statements
– For all icons in command
– Loops
– Referring to objects using Object Variables
◼ Setting up simple workflows and examples
Schlumberger-Private
Variables vs. Object variables
Variable: Object variables:
▪ Numerical or string (text) values defined Predefined variables are available in the
by the user as a constant or a range Workflows pane. These refer to another
values Petrel object or folder.
▪ $ sign represents a variable, followed
by text
▪ A variable must always be initialized
before it is used in the workflow.
$
$
$
$ $
Schlumberger-Private
Using object variables
Set reference: Points to an object ( ) used in the processes of a workflow.
Set reference list: Defines a list of different objects located in different folders to be
used in a workflow.
NOTE: Double-click Set reference list to open the
dialog box to create a list.
Schlumberger-Private
For all icons in
Specify an operation to be performed on all objects in a folder. By selecting
Recursive and type of objects, you have reasonably good control of which
objects are included in the operations.
Schlumberger-Private
For all icons in list
This is used to perform the same operations on several objects
stored in different folders.
1 2
b c
a
Schlumberger-Private
Predefined variables example: Output variable
2
3
Schlumberger-Private
Output sheet and messages
Results reports from the
Workflow editor
Output sheet Message
▪ Reports in a spreadsheet (Excel ▪ Reports in a Message window
format) ▪ Simple text
▪ Specify content by row/column ▪ Uses variables and normal text
▪ Uses variables and normal text
Schlumberger-Private
If, Else, Else If, and Endif statements
The same standard functions and syntax used with the
Calculator are available in the Workflow editor.
Schlumberger-Private