Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Outbound messages fail for OOTB templates in Smart Investigate

SA-17397

Summary



Outbound messages fail due to line break issue.
 

Error Messages



Not Applicable


Steps to Reproduce



1. Click New, enter MsgCase as business and case type as generic message.
2. Provide an embedded message (it should not fail for any field code).
3. Click Create and Submit.
4. Click Process case step by step.
5. Navigate to other actions and click Create Correspondence.
6. Select role as 'Inquirer' and language as 'English' and click Submit.
7. Select 'SWIFT' as correspondence type.
8. Select Message type.
9. Select Correspondence and Embedded Message from drop-down.
10. Click Next and Next.
11. Click Preview to view the message/tickler messages/cc messages/while sending the message. The messages have line break problem and hence are rejected by the system.


Root Cause



Some fields in swift messages should have a max of 35 lines as per standard. Even though SI provides validation for those fields to be 35 lines, it fails at receiver end due to below reasons:

1. Field name should be pre-pended after StringWordWarp of the field content. However, it is pre-pending the field name to content and wrapping the content to length of 35 or 50.
2. Length to wrap must be 2 chars more than the standard length since you need to consider “\r\n”, which are appended at the end of each line.

Resolution



Apply HFix-25079.
Suggest Edit

Published January 31, 2016 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us