How to Add New Condition to Sales Pad Work Flow.
Conditions are used in Sales pad work flow. By default sales pad provide various conditions. However there is always scope to add new conditions to meet workflow requirement. The procedure is as follows:
1) Make a entry at the spWorkflowCondition table. In this table the condition ID, description, parameter types and sample parameters are recorded.
2) update [dbo].[spcpEvalWfRuleCondition] store procedure. At this store procedure check for the condition ID as created in 1 above, and update the @conditionWasMatched variable to 1 if condition is matched or 0 if the condition fails.