Follow-Up Action Triggered by Attribute Change
Hi,
One of my customer asked me to develop a follow-up action which will send an email when a specific attribute change. I have two question in that point;
1. How can I catch attribute change with or without state change?
2. How can I find old value of the attribute to put in email like "abc attribute <new value>, <old value>"
PS: I found some other question which mentions to find old value of an attribute but couldn't find any example.
Thank you and have a nice day.
Accepted answer
Kurtulus,
this is pretty much explained in the Extensions Workshop (article 1000).
In a follow up action you have access to the old state of the work item (values of the work item before the save) and to the new state of the work item (the future state after the save). You can get the attribute values for the old and the new state and you can compare and work with them.
The status (attribute) is like any other attribute. In the extensions workshop the status attribute is used. in this example I use others. https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/
We used to have an integration team that provided such additional features including maintenance. Not sure if they are still on offer.