Process model showing "Invalid Process" and no other error or logs.

The process model is showing as invalid, but there are no logs indicating the reason for the invalid status. I’ve reviewed all subprocesses, and they appear to be valid. What could be the possible cause? Is there a standard or recommended approach to debugging this issue?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    I have seen this kind of issues resulting in a deep debugging of all the precedents. The cause can be an incorrect key word syntax for a precedent expression rule, e.g. deleting a rule input in an expression yet passing the input for that from the parent, having an expression like below in a precedent expression

    a!localvariable(
    local!varA: : "two colons instead of one",
    {
    rule!someRuleHere(
    mapA:ri!mapA, /*map A doesnt exist anymore as its deleted yet its referenced*/
    mapB:ri!mapB)})
    .

    Or, it can be related to some variables configuration in a script task in process that is not caught by syntax check of process model. To check this faster use the 'Generate Documentation' feature of process model. 
    For rules involved you should check all the expressions and interfaces until you find a cause. 

Reply
  • 0
    Certified Lead Developer

    I have seen this kind of issues resulting in a deep debugging of all the precedents. The cause can be an incorrect key word syntax for a precedent expression rule, e.g. deleting a rule input in an expression yet passing the input for that from the parent, having an expression like below in a precedent expression

    a!localvariable(
    local!varA: : "two colons instead of one",
    {
    rule!someRuleHere(
    mapA:ri!mapA, /*map A doesnt exist anymore as its deleted yet its referenced*/
    mapB:ri!mapB)})
    .

    Or, it can be related to some variables configuration in a script task in process that is not caught by syntax check of process model. To check this faster use the 'Generate Documentation' feature of process model. 
    For rules involved you should check all the expressions and interfaces until you find a cause. 

Children
No Data