Workflow error but unable to identify which workflow

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • murugappan
    Active Community Member
    • Aug 2017
    • 474

    Workflow error but unable to identify which workflow

    We are getting a workflow error "[2025-01-17 03:49:21] WARNING: Formula function: string\replace, argument 1 should be 'string'. [] []". But, it does say which workflow. I checked all the workflow i have created and none of them has the string/replace function. Please help.
  • emillod
    Active Community Member
    • Apr 2017
    • 1425

    #2
    Are you sure it's related to workflow? Is that possible that you're using formula in one of entities? You can try to search in database for the string\replace

    Comment

    • murugappan
      Active Community Member
      • Aug 2017
      • 474

      #3
      emillod hi, Thank you for responding. In one of the entites i do have a formual which reads as

      PHP Code:
      billNumber = string\replace(billNumber,' ',''); 
      
      and i found that there was nothing wrong with the formula except that the initial value of billNumber was null. I have corrected the formula to test for this value as follows:

      PHP Code:
      ifThen(!billNumber == null), string\replace(billNumber,' ','')); 
      
      Last edited by murugappan; Yesterday, 10:50 AM.

      Comment

      • yuri
        Member
        • Mar 2014
        • 8534

        #4
        If you turn on the DEBUG mode for the log, it should display more. But it will also produce too many log messages which is not good for production. If you are able to reproduce the warnings, consider enabling the DEBUG mode temporary to catch the problem.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        Working...