Adding Custom Steps Using Gateway Scripting Language

A business flow is executed as an ordered sequence of flow steps. Custom steps can be added only after data is loaded from the source application or before being updated in a destination application.

Note: Custom steps can only be defined for a specific provider, the role of the provider in a business flow, and the type of business flow. For example you can add a custom step to the P6 provider which can be used by any project data business flow where P6 is the source application.

To add a custom step:

  1. Sign in to Primavera Gateway as an administrator or developer.
  2. In the sidebar, select Configuration.
  3. Select .the Custom Steps tab.
  4. Select the Add... button.
  5. In the Custom Step wizard, enter the following information:
    1. In the Name field, enter a name for the custom step.
    2. Select a provider from the Provider list.
    3. Select the role of the provider in any business flow from the Flow Side list. Choices include:
      • Source: The provider is a source application in a business flow.
      • Destination: The provider is a destination application in a business flow.
    4. Select the type of flow that the custom step is to be associated from the Flow Type list. Choices include:
      • Master Data: The custom step is associated with a master data business flow.
      • Project Data: The custom step is associated with a project data business flow.
    5. In the Sequence Number field, enter or select a number to specify the location of the custom step in the flow step sequence of the data flow.

      If the provider is a source application, you can add a custom step in the Sequence Number range 11 - 19 only.

      If the provider is a destination application, you can add a custom step in the Sequence Number range 61 - 79 only.

      Note: Do not add custom steps after Sequence Number 80 associated with the last flow step, Update Destination, as it will not be used by any business flow.

  6. Select the Enable check box to activate the custom step in the master data or project data flow type of the provider.
  7. Select Save.
  8. In the Formula section, enter code and validate the custom step using Gateway scripting language.

    For more details, see Gateway Scripting Guide.

  9. Select Save.


Legal Notices | Your Privacy Rights
Copyright © 2013, 2022

Last Published Thursday, October 6, 2022