cancel
Showing results for 
Search instead for 
Did you mean: 

COMPARE bug?

ZenonK
Participant
0 Kudos

Hello Gurus.

I found a bug  with the Ruleset Activity COMPARE when comparing a Control Parameter to a constant.

When using COMPARE in the first line of a multitask it returns value '1'.

If used after line 1 the COMPARE works as expected, i.e. it returns value 2 or 0,

I got around this by using Activity CHECK PARAM VALUE.

Cheers.

Zenon.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Zenon,

Just checked in the system and there is no RC = 2. I can only see RC = 1 or 0. Maybe I am not reading your post correctly?

Thanks,

Vishnu

former_member186607
Active Contributor
0 Kudos

Hi Zenon,

I guess you have marked the flag "No Loading of Control Parameter" in the event handler type, right?

This is absolutely fine and recommended to optimize the performance for event message processing. But activity method COMPARE does not handle this correctly yet - but there will be a note available to fix this issue by tomorrow.

Best regards, Daniel

former_member186607
Active Contributor
0 Kudos

Ok, note 2275908 is available now, which should fix this issue.

Best regards, Daniel

ZenonK
Participant
0 Kudos

Thanks Daniel.  Yes the system I was working on had "No Loading of Control Parameter"  ticked for performance reasons.

Thanks for the fast response.

Answers (1)

Answers (1)

former_member186607
Active Contributor
0 Kudos

Hi Zenon,

can you post a screenshot of your activity parameter configuration?

Thx, Daniel