/
Pre conditions in App flow
  • Step information to be passed in the pre conditions usecase.

  • Based on current step precondition will run.

  • Based on boolean returned from precondition usecase, a step will run or be skipped.

  • Precondition rule will be passed in current step.

  • Precondition for every step will be executed from a new usecase e.g PaymentPreconditionsUseCase, and rule for that step will be passed in that usecase based on which that usecase will run the preconditions.

  • Wherever the rule doesn’t exist we will run that step.


  • Preconditions will have

    • Strategy: Task/StepOutput

    • Data: cod_amount

    • Expression: greater than 0

  • Every step that can impact upcoming step’s will