Workflow Issues Create Item - populate item list field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alasdaircr
    Active Community Member
    • Aug 2014
    • 525

    Workflow Issues Create Item - populate item list field

    I have a workflow which is set to create an Opportunity and set the Item List field to contain one item. The Workflow looks correct on the screen however after the workflow runs, there is an item in the opportunity but it has no name or value.

    Another issue is when updating a related entity, a note is created saying the assigned user has changed even though it hasn't.

    Would love it if these could be fixed easily. We want to use workflows as an integral part of our operations.

  • alasdaircr
    Active Community Member
    • Aug 2014
    • 525

    #2
    Attached a screenshot showing the Workflow's settings

    Comment

    • alasdaircr
      Active Community Member
      • Aug 2014
      • 525

      #3
      (I hid the assigned user name of the new Opportunity for privacy)

      Comment

      • alasdaircr
        Active Community Member
        • Aug 2014
        • 525

        #4
        Still have this issue with item lists, and a workflow should never change the assigned user unless it is specifically set as an action.

        Comment

        • alasdaircr
          Active Community Member
          • Aug 2014
          • 525

          #5
          Fix for the assignedUser and teams changing after a workflow is to modify BaseEntity::getDataToFill() and skip assigning assignedUser or teams.

          Or just skip the whole 'assign default values' thing when running an Entity Update, not a Create.

          Comment

          • alasdaircr
            Active Community Member
            • Aug 2014
            • 525

            #6
            Actually is also needs 'fetched' status set for the fields on the relatedEntity after fetching. Entity::isFieldChanged('assignedUserId') return true, despite it having not changed.

            Comment

            • tarasm
              Super Moderator
              • Mar 2014
              • 573

              #7
              We will check the issues.
              Job Offers and Requests

              Comment

              • alasdaircr
                Active Community Member
                • Aug 2014
                • 525

                #8
                Great - looking forward to a fix :-)

                Comment

                Working...