Posted: 28 Sep 2018 4:27 EDT Last activity: 26 Oct 2018 2:19 EDT
How can I call a Validate rule in New (Create) Harness?
I have a New (Create) Harness and there I have a couple of mandatory fields in there. I want to make it "required" using Text Input cell properties but since these fields are read only, I can't use that (i.e. required is only available for use when the Text Input is not read only).
Now what I can think of is to call Validate rule to check if these values are filled or not. If it is in regular flow action it is easy but since this is before case instantiation, I don't know how to call Validate. Is there any way to do it?
To execute a validate rule during initial entry of a work item, create a validate rule named onAdd with a work type as the Applies To key part. The standard activity Work-.Add causes a validation rule with that name to execute.