Skip to Content
0
Former Member
May 09, 2011 at 09:27 AM

Mixing global and local context in functions

14 Views

Hello,

I'm trying to compare two strings in the correlation condition of an intermediate message event. The first string is part of my data context and the second is received in the message.

e.g.

ProcContext/string1 = "abc"

EventContext/string2 = "abcd"

I want to check for something like: starts-with(EventContext/string2,ProcContext/string1)

Sadly, the editor says i cannot mix global and local contexts in functions. I don't understand, because I see no other way how I can achieve this behavior.

Any help would be greatly appreciated.

Kevin