Process Model getting incorrect data from an Expression Rule

I have an expression rule that returns a value based on rule inputs.

When I run this rule as a stand alone rule, it gets the data I expect. When I run this rule in process model A, I get the result I expect. But when I run the rule in process model B, I don't get the results I expect.

These 2 process models are child processes that get called at the same time, and have the same inputs. The node that runs the rule has the exact same inputs, settings, assignments, etc.

I can't see any reason why the rule would work correctly when run manually, or when run from process model A, and not process model B. For context, they are expected to return the same value in both process models.

Am I missing something?

If it helps, I'm using Appian Cloud v22.3

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Hi Andrew,
    Could you please check the following:

    1. Verify the data types of the process variables being passed as inputs to the expression rule to ensure there is no mismatch.
    2. Confirm that all values are properly passed to the inputs of sub-process B and that the process variables (parameters) have consistent data types.
    3. Examine the process history of sub-process B to ensure it receives all the expected values from the parent model.

    I hope one of the above points will help you identify the problem

Reply
  • 0
    Certified Lead Developer

    Hi Andrew,
    Could you please check the following:

    1. Verify the data types of the process variables being passed as inputs to the expression rule to ensure there is no mismatch.
    2. Confirm that all values are properly passed to the inputs of sub-process B and that the process variables (parameters) have consistent data types.
    3. Examine the process history of sub-process B to ensure it receives all the expected values from the parent model.

    I hope one of the above points will help you identify the problem

Children