Close Catalog Task without filling mandatory fields

ShrutiC
Giga Contributor

I have a requirement to close catalog task without filling in mandatory fields like assigned to/work notes which are set mandatory using data policy. I want this closure to happen in the workflow run script that is server side. 

Is there any way to achieve this requirement? Is there any way to bypass the data policy restriction?

Please provide your valuable inputs as I am struggling with this from many days.

 

Thanks

1 REPLY 1

-O-
Kilo Patron
Kilo Patron

The proper way is to add conditions to those data policies so that the fields aren't mandatory if some flag is set.

Set that flag when updating from workflow.

What's the point of making stuff mandatory all the time if there are exceptions to it?