Skip to main content
August 31, 2023
Question

How to apply conditions for more than one row in a process

  • August 31, 2023
  • 4 replies
  • 0 views

Hi! I´ve just created a process model for invoices: first, the user fills the invoice fields, and then some checks are made in the process (logic nodes) to determine if the invoice is accepted or rejected (basically, if all the conditions apply then the field "status" of the invoice changes)

Now, I´ve added an interface to create invoice lines. And I was wondering how can I make a similar logic (apply conditions for each row and then change the invoice line "status" to "accepted"). I know how to do it for one row, but not how can I "iterate" and make all the invoice line created to "pass" through the conditions

Any help would be useful. Thanks a lot!

    4 replies

    stefanhelzle0001
    Brainy
    August 31, 2023

    https://docs.appian.com/suite/help/23.3/looping.html

    My question: Is the status of invoice items independent of the invoice status?

    August 31, 2023

    To begin, I would say that, if the invoice status is "Accepted", all the lines should be accepted too (maybe this is easier to obtain)

    However, the good way to do it should be inversely (if all the lines are accepted, then the invoice is accepted, if not, it is rejected)

    venkatrea696188
    August 31, 2023

    MNI or Looping , I strongly suggest Looping