Need help in Scripting for Inbound action

ahmadfaiz
Tera Contributor

Hi,

Actually I have requirement where I need to Create an inbound action,

 

Email Received  is done below

Message Details:-
Message ID of the SAP PI message:
Sender System: test

Receiver System:
Interface Name :
Interface Namespace:
Adapter Type: SFTP
Scenario Name:
Communication Channel Name: NULL

 

Now I need to check if Receiver System is not Empty then create an Incident else pass.

I am confused that will the next line after Receiver System will be treat as \n or just space.

 

 

 

2 REPLIES 2

Siddhesh Gawade
Mega Sage
Mega Sage

Hello @ahmadfaiz ,

You can check what is value of 'email.body_text' then it will the better picture what do we need to done. Then you can do the parsing based on that.

Kindly mark my answer as Correct and helpful based on the Impact.

Regards,

Siddhesh

 

@Siddhesh Gawade

Message Details:-
Message ID of the SAP PI message:
Sender System: testname
Receiver System: testName
Interface Name : Test
Interface Namespace: 
Adapter Type: JDBC
Scenario Name: |Test|test||
Communication Channel Name:
Communication Channel System

 

This is how I am receiving mail in the Email logs, Still not sure how you to move forward with this