Workitem approval changes workflow state?
![]()
I am writing an advisor that is responsible to decide whether the save operation can be allowed based on the state of all the approvals that exist in the workitem.
Upon debugging the code, I noticed something strange to me. When the approver closes an approval and saves the workitem, the workflow state for the oldstate and new state show that the server thinks a workflow state transition is about to take place, even though the state of the workitem has not been changed by the user. Why is RTC behaving like this? This behaviour is throwing off my validation logic that says that if the workflow state is not changing, the advisor does not need to do anything. How do I compensate for this? |
3 answers
![]()
Ralph Schoon (62.0k●3●36●43)
| answered May 05 '13, 4:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Dan, the process configuration can be set to change the state of a work item on approval. This might be configured and cause what you see. You can configure it not to do that however.
|