Question

1
Replies
947
Views
BhagyashreeC8894 Member since 2016 9 posts
Cognizant
Posted: 3 years ago
Last activity: 3 years 4 months ago
Closed

How can I confirm if an assignment is COMPLETED by a user?

Hi,

I need to get a list of assignments completed by any user at a given day.

I am using Declare Trigger with Committed Delete on Assign- Class (with an understanding that everytime an assignment is completed it gets deleted from the assign table as per our system purging mechanism).

However, the issue is Assignments gets deleted also in case of transfer or reassign- for instance when a user picks an assignment from a WB- the assignment gets deleted from Assign-Workbasket and is added to Assign--Worklist; also in case of Screen Flows where back to back assignments are created and deleted for user.

How can I filter out such cases so that I only have assignments ACTUALLY COMPLETED by the user. I have tried to look out for properties that store the value for the Action Label on newAssignPage- whether it was a Transfer, or Completion, or Reassign etc- but couldnot.

One way could be to see if the status of the case has changed. In our application, if for an Assignment AssignedOperatorID and Status both changes- it means an assignment is completed. (But again, this solution might be an issue in case of Spin Offs, also am unsure how can I track this).

Thank you for your help,

Bhagyashree

Low-Code App Development Case Management
Moderation Team has archived post
Share this page LinkedIn