Make SCTASK state READ ONLY after RITM state is completed

sasipriya
Tera Contributor

Hi Team,

 

 Can anyone help me on below enhancement.

The SC Task state can't be modified after a RITM state is put into Closed Incomplete, Cancelled, Closed Complete state.

Screenshot attached for this enhancement and we are using flow designer.

 

Thanks ,

Sasipriya.

sasipriya_0-1686729083932.png

 

 

 

 

1 ACCEPTED SOLUTION

@sasipriya 

then have normal UI policy on sc_task and not catalog UI policy

something like this in UI policy condition

AnkurBawiskar_0-1686733927873.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@sasipriya 

is this for all catalog tasks or only for catalog task belonging to particular Catalog item?

you can use normal onLoad client script + Display BR

OR

you can use UI policy and add the required conditions for RITM state

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

    Thanks for the reply back.

  This requirement is for all catalog tasks and Ui policy is not working because it should apply on sctask state.

 

Thanks,

Sasipriya.

@sasipriya 

then have normal UI policy on sc_task and not catalog UI policy

something like this in UI policy condition

AnkurBawiskar_0-1686733927873.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

    Now it is working as expected.Thank you!

Thanks,

Sasipriya.