How to update RITM assignment based on most recent active SCTask in a sequential task setup?

PrathmeshT
Tera Contributor

Hi Community,

 

I'm working on a requirement where the Requested Item (RITM) should always reflect the assignment group and assigned to values of the most recent active sc_task associated with it.

 

Here’s the business scenario:

 

Tasks are created sequentially (i.e., when one task is closed, the next is created).

 

I have a Business Rule to update the RITM whenever a task is closed.

 

The challenge: sometimes when the current task is closed, the next task isn’t created immediately, so the RITM doesn't get updated with the new active task’s values.

 

 

Acceptance Criteria:

 

RITM assignment group and assigned to should always reflect the most recent active sc_task.

 

If the latest sc_task is closed, it should fall back to the next most recent active task, if available.

 

2 REPLIES 2

Muhammad Salar
Giga Sage

Hello. If your BR is on sc_task then try to trigger it on Insert with conditions of your related ritm

Uncle Rob
Kilo Patron

Whatever you use to build this, please make sure its conditioned out for specific Catalog Items.
I can't imagine this is the way you'd want every single service to work.
In most cases I've seen in 15 years, a particular group owns the full workflow (RITM) where as contributing teams own component pieces (sc_tasks).