AnsweredAssumed Answered

Send Mail option in IWP

Question asked by Suresh on Feb 19, 2015
Latest reply on Feb 27, 2015 by Suresh

Title

Send Mail option in IWP

Post

Dear Experts,

I was created a form which contains some fields, And created a script whether that all fields filled only it will go by Send mail option.
Here below the Script named Make Request,

If [Is Empty (Table1::Field1) or IsEmpty(Table1::Field2)]
Show Custom Dialog["Caution!!"; "Some fields missing.!!"]    //I know that 'Custom dialog' was not work @ IWP
Goto Layout [original layout]
Else
Perform Script["Send Request Mail"]
End If


The Send_Request_Mail Script is,

To:-Receiver@domain.org
Subject:-Test Report
Message:-Request Completed. You can start further processes.

Now I set this in Script Triggering > OnObjectSave > Script > Send_Request_Mail.

Now I published in IWP, filled the all fields. But the Send Mail option was not working. (Will not show a message that "Some fields missing!!", I know that.)

Was I did any mistake somewhere on Scripting or Triggering like.... Please Suggest me to do best!!

Thanks,
Suresh Babu.

Outcomes