Working with an End Event

When you work with an End event, you should take into account the following considerations.

When you create a process, Studio automatically adds a Begin and an End event connected by an unconditional transition.

Roles

Studio automatically adds an End event in an automatic role lane when you create a new process. You can move an End event to a user-defined role but this does not add any information to the process. The engine runs End events without the user's intervention.

Transitions

You must connect the process flow to the End event using at least one inbound transition. You cannot add an outbound transition to an End event.

You can grab instances sitting in an End event if they are not aborted or terminated.

Variables

A Begin event can access the following types of variables:
  • predefined variables
  • instance variables
  • arguments
  • local variables

Argument Mapping

If you use the process as a subprocess you can define an Argument Mapping with output arguments to return information to the parent process.

Advance scripting is available for compatibility with previous versions. Oracle recommends not to use this feature. If you need to run code immediately after the instance creation you can add an automatic activity immediately after the Begin event.