Process email and UI notifications that includes an attribute with data type Money shows lots of zeroes

Document ID:  TEC1741166
Last Modified Date:  06/08/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA PPM

Releases

  • CA PPM:Release:15.1

Components

  • CA PPM SAAS BUSINESS PROCESS MANAGEMENT INTERNAL ONLY:ODBPM
  • CA PPM BUSINESS PROCESS MANAGEMENT INTERNAL ONLY:PPMBPM
Problem:

Process notifications (e-mail and UI) that includes an attribute with data type Money shows the attribute with many zeroes.

Steps to Reproduce:

Object: Change Request
Attribute Name= Change in Cost
Data Type=Money


1. Create a simple Process with primary Object: Change Request

- Start Option: On demand
- Steps: Start -> Finish
- In the Start Step:

Send Notification: Check "When step is completed"
Send Notification To: Select any user

- In Notification Tab:
Open Notification Name "Process - Completed process step"

In the Notification Body put:

The following process step has been completed:

Process: [processName]
Step: [stepName]
[objectName]: [objectInstanceName]

Change in Cost: $[thisChange Request.effect_on_cost]

Validate and Activate the Process

2. Be sure that user has Email checked in his account settings for Processes

3. Open any project
3.1. create a Change Request.
Enter Change in Cost: 12345
When you click on Save, Change in Cost will show 12,345.00
3.2. Go to Process Tab and manually start the process created in step 1.

4. The user will receive an email. Check the email.

Email received is the following:

You have received a new notification

The following process step has been completed:

Process: my_changerequest
Step: Start
Change Request: CR10

Change in Cost: 12345.000000

5. Login with the user who received the notification.
Go to Organizer: Notifications tab.
Filter by Functional Area=Processes

Message shows:

The following process step has been completed:

Process: my_changerequest
Step: Start
Change Request: CR10

Change in Cost: 12345.000000

 

Expected Result: 

The field "Change in Cost" in the notification (email and UI) should not have all those zeros decimals (000000). It should be 12,345.00 or 12345.00

Actual Result: 

The field "Change in Cost" in the notification (email and UI) has trailing zeroes; it shows 12345.000000

 

Cause:

Caused by CLRT-81176

Resolution:

Won’t Fix.

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >