X4 Produktdokumentation

Inserting the First Activity

With Activity components, you define an activity within a process. The activity type and its execution behavior are determined by corresponding properties. Depending on the use case, an Activity component can be used to link Technical Processes or other Business Processes as subprocesses.

How to insert an activity

◀️
  1. Drag the Activity element image-20241009-123542.png from the Palette view next to the image-20241009-123635.png Timer Start element in the top lane of the pool.

  2. In the Label field in the Properties view, define a new name for the Activity, e.g. ImportInvoices.

  3. Select Script as the Activity type in the Properties view to define a script for automating the step.

You can also link the corresponding script or Technical Process to the element at a later time. For more information on creating the Technical Processes for this example, see the Example: ESB Project page and its subpages.

  1. Click the lower right image-20241015-085229.png corner of the image-20241009-123635.png Timer Start element, hold down the mouse button and drag a connection to the image-20241009-123542.png ImportInvoices activity.

    image-20241015-084304.png
▶️