RITM: to make field editable when catalog task gets generated

Sachin Gavhane
Giga Guru

Requirement is:

RITM have two fields
1. Software Type
2. Assigned To

if software type is freeware then bydefault Assigned to should be read only.
As soon as catalog task is generated on this current RITM , then Assigned to field should become editable.

can someone help me with the optimal approach for the same.

Thanks in Advance!

5 REPLIES 5

palanikumar
Mega Sage

Hi,

Suggest you to set stage when task is created. If stage is changed then add your condition based on Stage

Thank you,
Palani

Sure will try this.
Thanks for the reply

Ankur Bawiskar
Tera Patron
Tera Patron

@Sachin Gavhane 

is Software type a field or variable?

You can use onChange client script on that field and check the value and make assigned to readonly

Have another onLoad client script on RITM table and display business rule and see if sc task exists for this RITM, if yes then have assigned to as editable

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

Thanks for the reply

task can be generated anytime in flow, so as soon as tasks gets generated , the assigned to field should be editable