The CreatorCon Call for Content is officially open! Get started here.

Active isn't being set to false on close complete/incomplete?

akaupisch
Kilo Guru

I have tables that inherits from sm_order and sm_task. The end user can either close complete or close incomplete a request (or task respectively). They can do this via a UI Action or it can happen automatically in the workflow if certain criteria are met. Either case, all that's happening is I'm setting current.state = 3 or 4 depending. This should trigger the automagic OOB business rule that sets the active flag to false, but it doesn't appear to be. Any thoughts?

Edit: I should mention that 'state' is set at the task table level and there is a dictionary override for sm_order and sm_task which state close_states=3;4;7, so the TaskStateUtil should be seeing that this is in a close state and thus should be working

1 REPLY 1

SanjivMeher
Kilo Patron
Kilo Patron

Hi Adam



Check the   business rule on task table 'Task Active State Management', which sets the active flag to false. There could be additional conditions, which is restricting it from happening.



Please mark this response as correct or helpful if it assisted you with your question.