Posted: 17 Nov 2017 5:44 EST Last activity: 17 Nov 2017 14:44 EST
Unable to change stage in case management
my requirement is to route the cases to workbasket and then agent will pick the cases from wb and based on criteria(yes or No),cases will be navigated to next stage else to end stage with updated status(pending or resolved completed).Here I'm routing all the cases to workbasket by specifying workbasket name in work-queue in case management stage.agent is processing all the cases in every 1 hrs. in agents activity rule,i'm fetching all the cases from workbasket using report definition,then in a loop,cases are open one by one using 'Obj-Open-By-Handle' method. if a case contains 'yes 'value in a property then it should moved to next stage else last stage,here I'm using Work-.pxChangeStage method to change the stage. but when manually running the agent activity for checking purpose getting below error in tracer.
'A commit cannot be performed because a deferred save of instance failed: code: SQLState: Message: '
If that doesn't work, create a flow and call it from your activity. Add your Yes/No decision there then use the Change Stage smart shape. Make sure you tick the parameter to close all existing assignments.