Set field to mandatory on an SCTASK

ceraulo
Mega Guru

Hello!

I have a catalog item that creates 4 Catalog Tasks.

I also have a field that will only be displayed on one of the tasks. I need this field to be set to mandatory on creation of the task. How do I do this?

Please help!

Thank you!

1 ACCEPTED SOLUTION

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,


Create a Catalog UI poliicy which will mark this field as mandatory. When you create this UI policy tick Applies on Catalog Task.

 

Then in workflow go to catalog task where you want this variable to be mandatory. Below you will find variables section once you open that task activity.

 

Add that variable to right from left bucket. 


Thanks,
Ashutosh

View solution in original post

4 REPLIES 4

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,


Create a Catalog UI poliicy which will mark this field as mandatory. When you create this UI policy tick Applies on Catalog Task.

 

Then in workflow go to catalog task where you want this variable to be mandatory. Below you will find variables section once you open that task activity.

 

Add that variable to right from left bucket. 


Thanks,
Ashutosh

Hi @Ashutosh Munot1 

 

babbi_0-1666786444453.png

This are child task fields - when am making mandatory - it is effecting to all catalog item tasks.

 

we have a requirement to mandatory child task fields for only one catalog item.

 

how do we achieve

 

Thanks   

 

Hi @babbi 

You can create UI policy on sc_task table and dot walk to item variable then select your catalog name in the Conditions filter. So that it will make mandatory only for one catalog item.

MurthyCh_0-1666788273551.png

Hope it helps..

 

 

Thanks,
Murthy

Thanks for your help