Carriage Return in WF. - Siebel

For the benefit of other users, in their development environment, a customer created a workflow process that sends an email. The body of the email was a process property which was generated using an expression in a previous step and included carriage return line feeds. When the process was executed in development the email received was formatted as expected.

After the process was exported from development and imported into production the email received did not include carriage return line feeds. Further investigation showed that this was because the carriage return line feeds were no longer included in the text generated using the expression.

This behavior was reproduced as follows:

1. Create a workflow process based on the Contact bus object.

2. Add the following steps:

Start
Business Service 1
Business Service 2
End

3. Add the following process properties:

Name, Data Type
strBody, String
sEmailBody, String

4. Configure Business Service 1 as follows:

Business Service: Workflow Utilities
Method: Return Property Values

Input Arguments

Input Argument, Type, Value, Business Component Name
strBody, Expression, see below, Contact



"Your " + [Id] + " " + [Id] + " license " + [Id] + " will expire on " + [Id] + ".

To continue to solicit business and receive commission, fax a copy of your renewed license to 414-665-5785 " + [Id] + ".
Write your agent number and network office number on a copy of your license before you fax it. Do not include a fax cover sheet.

Output Arguments

Property Name, Type, Output Argument
sEmailBody, Output Argument, strBody

5. Configure Business Service 2 as follows:

Business Service: Outbound Communications Manager
Method: Send Message

Input Arguments

Input Argument, Type, Value
Communication Profile, Literal, Default SMTP Profile
Message Body, Process Property, sEmailBody,
Message Subject, Literal, Testing Formatting
To Address List, Literal, [email protected]
Process Mode, Literal, Remote

6. Execute the process in the Simulator. The email received was formatted correctly as follows:

“Your 1LS-AF98 1LS-AF98 license 1LS-AF98 will expire on 1LS-AF98.

To continue to solicit business and receive commission, fax a copy of your renewed license to 414-665-5785 1LS-AF98.
Write your agent number and network office number on a copy of your license before you fax it. Do not include a fax cover sheet.”

7. Export the process.

8. Change the name of the process in the XML file.

9. Import the process.

10. Execute the process in the Simulator. The email received did not include the carriage return line feeds included in the text:

“Your 1LS-AF98 1LS-AF98 license 1LS-AF98 will expire on 1LS-AF98. To continue to solicit business and receive commission, fax a copy of your renewed license to 414-665-5785 1LS-AF98. Write your agent number and network office number on a copy of your license before you fax it. Do not include a fax cover sheet.”

The defect appears to be related to the export and import of any expression values that include carriage return line feeds. CR 10483087 has been raised to address it. Please note that all requests are reviewed and prioritized for possible inclusion in a future release.

The customer found that the email sent from production was formatted correctly after the expression value was copied from the process in development and pasted into the process in production.



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章