Forum Discussion

vijay's avatar
vijay
New Contributor III
2 years ago

Custom calculate BR not triggering from DM step.

hi ,

 

Suddenly the custom calculate BR is not getting called from the DM step. The error log statements which added inside the custom calculate BR are not logged in as well. Below is the rule and the DM step.

 

 

 

  • RobbSalzmann's avatar
    RobbSalzmann
    Valued Contributor II

    Perhaps you're not seeing what you expect to see in the log.  Your "Throw" will be "caught" by the Catch block and logged there.  However, you are logging ex.ToString which will likely produce a statement about the class type of the exception.  If you want to see "checking" appear in the log, change ex.toString to ex.Message

    Better yet, just write to the log directly instead of Throwing an unnecessary exception. 

  • MikeG's avatar
    MikeG
    Contributor III

    Hi vijay did you add the Step to the DM Sequence?  I agree with RobbSalzmann , just do a LogMessage right to confirm your setup.

    Hope this helps.

  • vijay's avatar
    vijay
    New Contributor III

    hi Mike ,

    I tested BR with another user from my team and error log is working from his user id. ErrorLog table for my userid reaches the max limit it seems since i have added log statements inside the multiple loops on my previous logic in the rule. Just want to check whether there is max limit of log by page/rows for an user . Below is the screenshot of mine and its max out and not adding any further error log into the table.

     

     

    Thanks

     

  • vijay's avatar
    vijay
    New Contributor III

    hi,

    After clearing the error logs from errorlog table completly, still custom BR rule which triggered from DM sequence is not logging into error log. For other user with having the same access , its logging into error log.