Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

XOR Gateway expression

Certified Lead 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