Search() function Issue

 Hi 

I'm new to appian.Please help me out of this problem

"Requirement: When I receive an email with subject as "Hello World" I should delete the process.

So I applied a condition in xor node like "search("Hello World",pv!incomingSubject)>0" 

If this condition satisfies it moves to deletion Process node.

but the problem is when the subject's length crosses above 70 it is not satisfying the above condition.

eg(XXXX YYYYYYY AAAAA BBBBBBBBBBBB: LMI Aerospace (USA): Hello World QQQQQQQQ SAMPLE SUBECT LINE)

The above subject contains "Hello World" but it is not working.

Note : incomingSubject (Text)

  Discussion posts and replies are publicly visible

Parents Reply
  • pv!incomingSubject contains full subject line("XXXX YYYYYYY AAAAA BBBBBBBBBBBB: LMI Aerospace (USA): Hello World QQQQQQQQ SAMPLE SUBECT LINE") but when it passes to search("Hello World",pv!incomingSubject)>0 it returns false.

    But when the same subject is applied like this search("Hello World","XXXX YYYYYYY AAAAA BBBBBBBBBBBB: LMI Aerospace (USA): Hello World QQQQQQQQ SAMPLE SUBECT LINE")>0 is returning true
Children