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
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
 
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

View solution in original post

3 REPLIES 3

Samaksh Wani
Giga Sage
Giga Sage

@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
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
 
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

Samaksh Wani
Giga Sage
Giga Sage

Hello @Kishan_ 

 

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

 

Regards,

Samaksh