XOR Gateway expression

Certified Senior Developer

Hi,

I am taking the service name from drop down field from interface and mapping it to following variable.

After that I am uploading excel as below:

Following is the rule I am using in script task and saving its value into Boolean type variable 'flag'.

My requirement is if pv!Service_name=pv!cdt.srvc_nm then it should go to XOR path otherwise send email path.

 if I change the value in excel rows the flow is not going in appropriate way.

Thanks,

Kiran

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Is there a specific reason for copying the data into a local variable using foreach()?

    In the data you shared, I see an "a" at the end of the first value. Could it be that there is a space before or after the second one? In cases like this, I recommend to first try to get working code in a separate expression. Once I understand the what is going on, I put it into process. This makes debugging way easier.

Reply
  • 0
    Certified Lead Developer

    Is there a specific reason for copying the data into a local variable using foreach()?

    In the data you shared, I see an "a" at the end of the first value. Could it be that there is a space before or after the second one? In cases like this, I recommend to first try to get working code in a separate expression. Once I understand the what is going on, I put it into process. This makes debugging way easier.

Children