Not sure if this is possible but this is what I'm trying to do:
I have a user attribute called "Cube Number". When a user is provisioned in the portal the value is NULL by default. I have a simple notification set up that when a user is then assigned a cube number in the portal it kicks off a notification (example: goes from NULL to 1234). I created a set that has users with cube number not NULL and on transition in send a notification for cube number assignment.
I want to now create a new MPR that detects when the cube number is changed (example: changed from 1234 to 4321) so I can send out a cube move notification. This is easy I created a MPR that detects when the attribute is modified and sends the notice. The only issue is this also runs when the initial cube number (NULL to some value) is assigned so now they would get two notices the move and the assigned notices.
Is it possible to run the MPR only if the attribute was modified from a non-NULL value to a non-NULL value? and if so any ideas how I could do it?
Thanks in advance.
never mind solved it my self the solution was sitting right in front of me.
instead of applying the move MPR to all people I only applied it to the set of user who have an assigned cube number. users with out a cube number are not part of the set till after the value is modified so the move notice is not triggered but the assignment notice is.
- 已标记为答案 Dane_B 2012年8月6日 22:33