Skip to main content
sakett753534
May 23, 2024
Question

Process with a pv!ID of type number, a paramter and marked required true but still the process is working despite no value from its parent for that required pv

  • May 23, 2024
  • 2 replies
  • 0 views

So I have a parent process in which 1 subprocess is mapped and in that subprocess there is 1 pv!id of number type and set as a parameter and is required true but I’m not passing it from parent process, in spite not passing it is going ahead without giving any error but it should give error because of required variable not being passed!

    2 replies

    May 23, 2024

    Hi,

    It is expected behavior of Appian, since PV is of num type it will take as 0 by default. Either you use text type or if you want to terminate your process, try using expression and set as null value and do the null check.

    sakett753534
    May 23, 2024

    Okay thanks for the clarification!