Announcement

Collapse
No announcement yet.

Workflow's formula "streamCount=streamCount+1" runs forever .....

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Workflow's formula "streamCount=streamCount+1" runs forever .....

    Hi,

    I just found out the following problem and it may be a small bug?

    When I add an Integer field "streamCount" into Contact entity. And set a workflow to make the "streamCount" +1 when a new stream note is created.

    If I set the "streamCount" field "audited", then the workflow will run forever....

    Please refer to the attached screenshots.


  • #2
    Hi,

    It's your workflow looping. Not a bug. Audited creates new note.

    Comment


    • #3
      Hello Chris,
      It is not a bug. You just made a loop. Here is how this is working:
      1. You are making a post -> it triggers the workflow and audited functionality that makes a post on your post
      2. New audited post triggers workflow again.
      3. Audited functionality makes a new post on its previous post and triggers the workflow again.
      And it is repeating again and again and again ...

      Comment


      • #4
        Thanks so much for the explanation! I intended to count the ‘Posts’ only (excluding the ‘Updates’). Is there a way to achieve that result?

        Thanks so much for your quick response and help!

        Comment


        • #5
          Add a new condition to your workflow (see screenshot):
          Attached Files

          Comment


          • #6
            Originally posted by Maximus View Post
            Add a new condition to your workflow (see screenshot):
            Thanks so much!

            Comment

            Working...
            X