How to make field editable in workflow switch activity.

T VENKATESH
Tera Contributor

TVENKATESH_0-1743046565229.png

I want to make editable TYPE field on the switch activity, once the switch is created the type is read only how to make it editable(i have seen UI policies but can't find how this field set it is always read only).
Please help how to achieve

3 REPLIES 3

Shivalika
Mega Sage

Hello @T VENKATESH 

 

Search for "Type" field in "sys_hub_action_switch" table. Check for the dictionary attribute if "Read Only" is set to true. There you can make it false. 

 

If this doesn't works, then try with client script - for this what's the requirement? 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Ankur Bawiskar
Tera Patron
Tera Patron

@T VENKATESH 

the Type field is readonly by purpose.

It simply says Switch will take actions based on some field of your table on which workflow is running.

Example: if workflow is running on incident table then you can configure switch activity to take different actions based on State/Channel etc

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

@T VENKATESH 

Hope you are doing good.

Did my reply answer your question?

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