Posted: 24 Jun 2019 1:14 EDT Last activity: 24 Jun 2019 4:04 EDT
Creating a different case within an existing case thread.
I want to create a case in an existing case thread. Suppose
ABC-1 is an existing case which is currently opened assigned to me, So newAssignPage exisits in this thread.
Now I want to create a different case of A-FW-BFW-Work-Type2 class in the same thread using an activity. Which I have already done.
But issue is second case gets routed to a workbasket upon creation immediately. Whenever I try to process the first case which was already opened I am getting assignment mismatch errors as during the second case creation newAssignPage gets disturbed.
After Case1 creation, you need to temporarily store pyWorkPage and newAssignPage onto dedicated pages. So you could use the methode Page-Copy on an activity to save pyWorkPage into BackupWorkPage and newAssignPage into BackupNewAssignPage.
Than you launch second case creation and at then end of that creation process you just need to restore previous pages and you should be good to go.
Your approach is working fine. But when I try to complete Type1 flow action it is throwing Primary Key constraint issues at CommitWithErrorHanding OOTB activity and it is trying to commit Type2 case even though Type2 case is committed already!!
Posted: 2 years ago
Posted: 24 Jun 2019 4:04 EDT
Marc Lasserre (MarcLasserre_GCS)
Principal Software Solutions Engineer