Notifications

13 views

Symptoms

Additional Time card Project/Project Task created in Time Sheet and it has a blank hour value on the day when it is submitted.

Release

Jakarta Patch 10

Cause

Enabled logs in Debug and reviewed Node logs.

03:37:31.821 Info Default-thread-14 D09EE8DBDB37A300CC8EB04FFE9619EE Slow business rule 'BNOW - Calculate Month Sheet' on time_card:Created 2019-02-28 12:37:31, time was: 0:00:00.133
03:37:31.822 Info Default-thread-14 D09EE8DBDB37A300CC8EB04FFE9619EE mysheet: 3d668956dbb363c464a65ad6dc961932
03:37:31.836 Info Default-thread-14 D09EE8DBDB37A300CC8EB04FFE9619EE mysheet:
03:37:31.845 Error Default-thread-14 D09EE8DBDB37A300CC8EB04FFE9619EE SEVERE * ERROR * UsageAnalytics processAndAddScore: Skipping scoring of insert on table time_card: Invalid GlideRecord passed
03:37:31.847 Info Default-thread-14 D09EE8DBDB37A300CC8EB04FFE9619EE Slow business rule 'BNOW - INVOICE - Update Invoice State' on time_card:Created 2019-02-28 12:36:47, time was: 0:00:00.192
03:37:31.861 Info glide.record_watcher.evaluator.d729 D09EE8DBDB37A300CC8EB04FFE9619EE Published amb message, sys_id:a061c19bdb77a300cc8eb04ffe9619e2
03:37:31.914 Info glide.record_watcher.evaluator.d729 D09EE8DBDB37A300CC8EB04FFE9619EE Published amb message, sys_id:2861c19bdb77a300cc8eb04ffe9619e2
03:37:32.007 Info Default-thread-14 D09EE8DBDB37A300CC8EB04FFE9619EE Slow business rule 'Process time card' on time_card:Created 2019-02-28 12:36:47, time was: 0:00:00.141

Upon reviewing Node logs, found following Business Rule is causing additional record to create in Time Sheet.
Business Rule:* BNOW - INVOICE - Update Invoice State*

Resolution

After setting BR: 'BNOW - INVOICE - Update Invoice State' to False, the issue is fixed.

Result

  1. Hop to customer instance.
  2. Impersonated affected user.
  3. Navigated through My Time Sheets>All
  4. Selected Week 9
  5. Created New Time Card ( TDCE-INTPRJ0001187 with 1 hours)
  6. Submitted Time sheet.

Under Related List we can see only one record added in the Time Cards: "Internal Projects".
We DO NOT see additional Time card any more.

Article Information

Last Updated:2019-05-21 11:54:54
Published:2019-03-22