cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicating Conditions...Is it possible?

susan_pfab
Participant
0 Kudos

I have a very complex condition in one of my receiver determinations and have the very same condition in another interface determination. I hate to maintain it in 2 different places. Is there a way to assign this condition to some type of variable and reuse it?

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

If you work with PI 7.1, you can use receiver rules.

susan_pfab
Participant
0 Kudos

We have 7.1. Where are the receiver rules?

stefan_grube
Active Contributor
0 Kudos

receiver determination -> receiver rules.

Or: new -> configuration objects -> receiver rules.

receiver rules work only with context objects, but if you want to make receiver determination depend on filename, you have a context object for this.

susan_pfab
Participant
0 Kudos

So, receiver rules apply only to receiver determinations? I need something for an interface determination. I need to use an else in interface determination.

susan_pfab
Participant
0 Kudos

Yes, I read the documenation, and these rules are only for receiver determination. I need something that will allow me to use the same condition on a receiver determination and a interface determination.

former_member200962
Active Contributor
0 Kudos

Only possible in Receiver Determination and not in Interface Determination. For Interface Determination you have to maintain the condition separately in the Condition Editor itself.....just a doubt do you have the same condition in the Receiver Determination and Interface Determination for the sane interface?

Regards,

Abhishek.

stefan_grube
Active Contributor
0 Kudos

would it be an option to add an additional business service to represent the same receiver?

then you could use receiver determination instead of interface determination.

So now you have:

sender A -> receiver B, interface X

sender A -> receiver B, interface Y

you change this to

sender A -> receiver B1, interface X

sender A -> receiver B2, interface Y

but B1 and B2 represent the same system.

susan_pfab
Participant
0 Kudos

We don't want to add the business component for the same receiver. That's why one of the conditions is in the interface determination. Looks like we might have to though. Hmmm.

susan_pfab
Participant
0 Kudos

yes, I know. but we are trying to avoid this.

Answers (3)

Answers (3)

susan_pfab
Participant
0 Kudos

A variable cannot be used in interface determination.

Former Member
0 Kudos

Yeah is Posible ,but What do you want as condition?.

susan_pfab
Participant
0 Kudos

Based on the filename (dtSubject), it will go to different interfaces (2 different receiver determinations).

Former Member
0 Kudos

Hi Susan,

You don't have an option like that. You can copy and paste to some extent.

Regards,

---Satish