VTB Task record's 'Active' flag not getting updated when moved from a closed state to an open state


Description

When a vtb_task record gets archived, its Active state gets updated as False. When the same vtb_task record gets restored (set to an open state), its Active flag stays False.

This issue is reproducible in VTB view and in platform view, only when the state is changed to Work in Progress from Closed Complete.

Steps to Reproduce

1. Create a freeform board
2. Create a few tasks
3. Archive a card
4. Do vtb_task.list and check the card that is updated.
> Active is False
5. Set the same card's state to Open or Work in Progress.
> Active flag stays false

Workaround

After carefully considering the severity and frequency of the issue, and the cost and risk of attempting a fix, it has been decided to not address this issue in any current or near future releases. We do not make this decision lightly, and we apologise for any inconvenience.

A Business Rule can be created (/sys_script.do?sys_id=-1) as a workaround with the following settings:

Advanced: true

When: before

Update: true

Filter Conditions:

State CHANGES AND State IsOneOf (Pending, Open, Work in Progress) => stateVALCHANGES^stateIN-5,1,2^EQ

Set field values:

Active TO true


Related Problem: PRB1386587