Question
Virtusa
US
Last activity: 30 Apr 2020 19:30 EDT
Unit test rules on temporary cases
Has anyone got success in writing unit test cases for temporary cases?
I am recording pyStartCase flow until case reaches persist case and converting it to a test case but it is failing with the error The flow create has been removed in Work-.PerformFlowAction activity.
Tried recording test case for case type rule as well but still test case fails with same error.
Appreciate your help.
When you receive the error "The flow has been removed", it usually mean that the work object's pxFlow does not have an entry that contains the assignment's key.
Can you check followings?
Could the work object be already processed and moved to a different place in a flow?
Could the work object never got committed?
Could an old stale work object overwrite the current work object?