-
Suggestion
-
Resolution: Unresolved
-
728
-
76
-
Ex: Change a Contract Object's Status to "Expired" once the "Expiration Date" is overdue.
It would also be beneficial to trigger the rule based on object type in addition to the object schema
WorkAround : https://confluence.atlassian.com/jirakb/assets-automation-trigger-rule-based-on-attribute-update-1456179255.html
- duplicates
-
JSDCLOUD-11406 Assets Automation: Ability to specify attribute when Triggering an Automation through Object Update
- Closed
-
JSDCLOUD-12839 Asset Automation: Ability to identify which fields were updated on the object updated trigger
- Closed
- is duplicated by
-
JSDCLOUD-10017 Automations for Insight: Ability to set a trigger when a specific object attribute is changed from one specific value to another
- Closed
- mentioned in
-
Page Failed to load
-
Page Failed to load
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
I implemented the workaround a few months ago and have found out that it often just does not work and there's really no way to know it. Specifically, what seems to be happening is the Object Updated trigger is often running in a delayed state to varying degrees. For instance, this morning, update triggers were running at a nearly 30 minute delay from when the actual asset object was updated and it seemed to suddenly "catch up" and process a bunch of updates at one time. A delay itself is annoying, but as long as it still processes the flow correctly, it's not the end of the world (at least not in my use case, though it could be hugely problematic for something more sensitive).
The problem here lies in that initial api call to get the update history not firing off in realtime when the update happens. I have my flow checking for a match on a certain attribute (just like the workaround suggests), but when it runs on a delay, if anything else has changed on the asset, the "most recent" update will no longer match up and will pull a different change. I just had an asset where I updated a handful of fields, then the automation caught up 20-30 minutes later and ran them all, but the api returned the same attribute as the "most recently updated" one for 6-8 different automation triggers.
We often update more than one attribute in a short period of time, so simply put, if the automation trigger isn't running in realtime, then the workaround 100% does not work at all.