How to create an expression rule in which pass another exp rule as rule input

Certified Senior Developer

Hi,

Requirement is to create one expression rule in which I need to pass another expression rule as rule input,

I do not know what type of rule input to define.

Use Case - Have integration, need to call through expression rules, if integration is failed, I need to retry n number of time. and if it returns success, break the calling chain of integration

Thanks, in advance.

Shree Krishna  

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    I'm not really clear what you're asking.

    In an expression rule you can, trivially easily, call another expression rule within it, either to populate a local variable, or to define the output (or some part of the output).  Likewise, any parent objects that call an expression rule, can call a different expression rule as part of the top-level expression rule call's rule inputs, presuming that the "lower" rule returns an output that will be compatible with the data type of the rule input it's being assigned into.

Reply
  • 0
    Certified Lead Developer

    I'm not really clear what you're asking.

    In an expression rule you can, trivially easily, call another expression rule within it, either to populate a local variable, or to define the output (or some part of the output).  Likewise, any parent objects that call an expression rule, can call a different expression rule as part of the top-level expression rule call's rule inputs, presuming that the "lower" rule returns an output that will be compatible with the data type of the rule input it's being assigned into.

Children