By Pass mandatory field when creating catalog task from workflow

Kishan_
Tera Contributor

Hi,

I have scripted a dynamic short description using task.short_description. But the mandatory short description field is not allowing to save the catalog task creation form. Is there a way to  bypass the mandatory field and submit the form?

 

Attaching a SS.

1 ACCEPTED SOLUTION

sushantmalsure
Mega Sage

@Kishan_ Instead of using 

Task value from : Fields
Use
Task value from : Values
 
Then short description will not be mandatory and you can set your desired fields of your choice in task creation
 

View solution in original post

3 REPLIES 3

Not applicable

@Kishan_ 

 

You need to remove the Mandatory field from Short Description, Check any Client Script or UI Policy will be there for short description.

 

or You can try a OnLoad() Client Script.

 

 

g_form.setMandatory('short_description',false);

 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.

 

Regards,

Samaksh

sushantmalsure
Mega Sage

@Kishan_ Instead of using 

Task value from : Fields
Use
Task value from : Values
 
Then short description will not be mandatory and you can set your desired fields of your choice in task creation
 

Not applicable

Hello @Kishan_ 

 

Can you Plz Mark my Solution as Accept , it will help other community users to reach out here.

 

Regards,

Samaksh