Expression Rules parameters performance considerations

Certified Associate Developer

Hello! I'm curious whether or not the amount of data we pass in and out of an Expression Rule has any impact on performance.

Consider the following scenario.

I have a pv!recordType process variable, with three fields: recordType.field1recordType.field2recordType.field3.

I want to use two of those fields in an Expression Rule to obtain an Output to use later in the Process Model.

When configuring rule inputs for the Expression Rule, I am facing two options:

1. Pass the whole pv!recordType into the Expression and access the fields within the expression, resulting in one rule input "recordType".

2. Create two separate rule inputs, "field1" and "field2", and access the process variable fields when passing data into the Expression Rule.

Now my question is basically this: is there a real difference between these two approaches, or is it a matter of convention?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data