We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to sync REQ and RITM states with sc_task

Nisha30
Kilo Sage

Hi,

How do we achieve these use cases

1. When there is single sc_task , the state of sc_task should be synced with RITM/REQ (example if sc_task state is closed incomplete REQ/RITM state= closed incomplete and like wise)

2. when multiple sc_task are there and they have different closed states (REQ/RITM) state = Closed Incomplete)

3. But when multiple sc_task are there and they all have same closed states, then REQ/RITM also should have same closed states(example: sc_task 1 , sc_task 2, sc_task 3 they all have closed incomplete , then REQ/RITM also should have closed incomplete 

 

Any leads how to achieve this via script will be helpful.

Thanks

2 REPLIES 2

Not applicable

Hi @Nisha30 ,

There is no straight way to do this, you can find some guidance from :https://www.servicenow.com/community/developer-forum/help-with-business-rule-to-sync-ritm-state-with...

 

Not applicable

Hi @Nisha30 ,