This process step class validates a condition against the workflow object. If the condition fails, the workflow goes back to the previous step and displays the error message indicated.
-
The error message needs to be configured in the SPFServerResources.resx resources file located in C:\Program Files (x86)\SDx\Localization\Samples. All custom error messages should be created with a custom prefix.
-
You have to regenerate the resource files dlls for each language, so that the custom messages appear in the defined language. For more information, see Generate a resource file.
Process class name: ValidateByCondition
Syntax: ValidateByCondition,Arg1,Arg2
Example: ValidateByCondition,SCLBIsConsolidatorSet,3120
Where:
Arg1: Is the condition name.
Arg2: Is the resource name (or number) of the error message.