Announcement

Collapse
No announcement yet.

Update the field "modifiedAt" in the parent entity

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

  • Update the field "modifiedAt" in the parent entity

    Hello!
    How to update the field "modifiedAt" in the parent entity of the opportunity when changing the related call?
    I tried to do it using the workflow, but I noticed that they never get to update the parent entity. Workflow is triggered, but does nothing.

  • #2
    Hello
    I created a rule for Opportunity. Update Related Entity "Account"
    Code:
    modifiedAt=datetime\addMinutes(datetime\now(), '-3');
    modifiedById='system';
    And it works.
    Could you give more details?

    Comment


    • #3
      Perhaps you misunderstood me.
      I can not modify the Parent object using the workflow.
      If objects are related by the type "Parent-to-Children"
      Run the workflow where entityType is equal to the "Children" object and change the "Parent" object. This does not work, nothing changes in the "Parent" object.

      Comment


      • #4
        Originally posted by tanya View Post
        Could you give more details?
        I want to create a workflow that will change the "modifiedAt" field in the Opportunity object if the "Status" field associated with this "Call" object has changed
        The objects "Opportunity" and "Call" are connected like "Parent-to-Children"

        Comment


        • #5
          I don't set any condition and it works for me
          (the easiest way to test, if update run - set description value)
          Attached Files

          Comment


          • #6
            Thank you! That helped!

            Comment

            Working...
            X