Using WAS CHANGED after EDIT

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
technopak
Posts: 287
Joined: Thu Dec 04, 2008 2:16 pm

Using WAS CHANGED after EDIT

Post by technopak »

Hi folks,

I'm trying to edit an object from within a process using the EDIT action and then check whether any changes were made.

My process rules go like this -

Rule1: EDIT MyObject using MainForm
Rule2:If MyObject WAS CHANGED THEN
DISPLAY MESSAGE 'Some value has changed'

However, no matter what changes I make while editing the object, the WAS CHANGED rule doesn't pick up any changes.

I think this may have something to do with the 'last stable version' of the object being recorded after the EDIT action has updated the object, so that no changes to the 'last stable version' are evident when Rule2 checks. But I could be completely wrong on this.

Has anyone any advice on how to do this or what may be wrong with my process ?

Thanks in advance,

Peter.
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

You are right - this has to do with the "last stable version" and it won't work in a process. The WAS CHANGED rule has to be on the object. Can you change what you are doing, so that the rule is on the object. For example, set an "audit trail" - make a record of change or set a special flag. And then check for this record or for this flag in the process.
Aware IM Support Team
technopak
Posts: 287
Joined: Thu Dec 04, 2008 2:16 pm

Post by technopak »

Thanks support,

The audit trail technique should work just fine - I'll try it.


Peter
Post Reply