CREATE & UPDATE events fired when issues is created in Workfront
Hi All,
I'm calling for Black Belt Fusion experts, hoping for help with resolving this mystery.
I have a custom form (with loads of fields) on the Issue object in WF. I have a Fusion Scenario that I need to run when one of these fields (FIELD2) is updated on an existing issue, or a new issue is created with this field populated.
The filters defined for the webhook look like this:
Record type: Issue
State: New state
Filters:
DE:FIELD1 EQUAL Yes
AND DE:FIELD2 Changed
AND connection updates included
Record Origin: New and Updated RecordsWhen I CREATE a new issue that matches the filters, 2 events are fired: one "CREATE" and one "UPDATE" event. So my scenario runs twice and I can't figure out why.
The Fusion scenario does not update FIELD2, so the 2nd event is not triggered by Fusion itself.
I checked the data in the output bundle of the "Watch event" Fusion module in both runs and found the following:
- The "newState" data is exactly the same in the CREATE event and in the UPDATE event (and it includes the custom field data).
- There are 2 differences between "oldState" and "newState" in the UPDATE event:
- oldState doesn't include the custom form fields (only newState does).
- in oldState the fields rootGroupID and groupID are null, in newState they have a value.
I don't understand why I have 2 events, I would only expect 1 CREATE event, since that's when FIELD2 is set.
I appreciate any advice.
Tibor
