Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 61 Next »

You’re using Feeder logic when you need to:

  • feed/supply objects to process in another logic/process

    • commonly used in rebate allocation process

Logic API

  • Logic Nature: default

    • Logic Type: Calculation/Pricing

  • Execution Types:

    • Syntax Check - to define the input fields

    • Standard - to find out which objects we want to process and emit those objects

  • Information provided to the logic

  • in Standard mode

    • input[] - values entered by user in configuration of the process (e.g. usually the feeder inputs values entered on allocation calculation dataload configuration page)

    • api.currentItem() - the context, in which it runs (likely the Dataload process definition)

  • Expected logic execution outcome

    • from Syntax Check mode

      • input field definitions

    • from Standard mode execution

      • emit the objects to be processed by the process, which is using this Feeder. You can use several methods to achieve that, for example:

Code sample

  • No labels