How to remove field regions from the document in Advanced Script Rule?

Question

How to remove field regions from the document in the Advanced Script Rule if a user deletes a field value on Manual Review?

 

Answer

The sample script is the following:

var testing = Context.GetField("Debug").Value;
if (testing == '')
{
Context.GetField("Debug").ImageRegions.Clear();
}

Before:

 
After:

 

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request