Overriding job conditions

To give you more options for scheduling jobs, you can use the Workflow Manager to define formulas for the Job object. The Formula Editor for the Job object includes a code snippet called Override condition (under the Billing node) that you can use to set conditions through formulas.

The snippet uses the AddOrUpdate method on the JobConditionCollection object. You can use the four parameters to set the PropertyName, Value, ReadableValue, and ValueMoniker properties of the condition you want to override (corresponding to the PROPERTYNAME, VALUE, READABLEVALUE, and VALUEMONIKER columns in the CORE_BATCHPROCESSING.JOBCONDITION table).

The name is required. To set the value, enter either a value (second parameter) or a readable value and a moniker (last two parameters).