Support Article
Report value of pytaskName concatenated for some work-history
SA-56949
Summary
On creating an assignment by launching a case type, the History record is added to the corresponding pc_History_NNN-work table. The record is an A type record, that is, the pyHistoryType is set to A. When the record is added to the table, the pyTaskName value is truncated to 32 characters.
However, when the assignment is completed, the pyHistoryType is set to an F type record and a new record is added with the full length of the pyTaskName (greater than 32 characters).
Error Messages
Not Applicable
Steps to Reproduce
- Create a report on the work history class.
- Add pyTaskName, pyHistoryType, and .pxHistoryForReference columns.
- Add a filter for .pxHistoryForReference to fetch only one case data.
- Run the report. All the results of the case are retrieved. Results for history type F display the correct task name. However, for history type A, the task name does not display the complete value, though both are the same database columns.
Root Cause
The Flow.AddHistory Rule Utility Function (RUF) truncated the pyTaskname to 32 characters if the pxTaskLabel was greater than 32 characters.
Resolution
Apply HFix-43781.
Published January 4, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.