GET_CHANGES output - Audit BO

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

3. Add a button to the RegularUser form and click the button
I'm not clear what this button will do.
Tom - V8.8 build 3137 - MySql / PostGres
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

What is the max length of your status attribute?
Tom - V8.8 build 3137 - MySql / PostGres
tazzmaxx
Posts: 125
Joined: Tue Sep 02, 2008 2:13 pm

Post by tazzmaxx »

Hi Tom,

The button should intiate the StatusChange process.

The max length on the status attribute is 20
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Make your status longer & see if that fixes it. I'm guessing it gets truncated.
Tom - V8.8 build 3137 - MySql / PostGres
tazzmaxx
Posts: 125
Joined: Tue Sep 02, 2008 2:13 pm

Post by tazzmaxx »

I'm not sure that I understand, the status field is setup to capture 20 characters and the only 2 options are Open (4 characters) and Closed (6 characters). I can't imagine that the status length would have anything to do with the GET_CHANGES function.

The status field is fine, it is the data being written (or not being written) to the Logit BO that is missing data.

I am guessing that this is an Aware issue as the GET_CHANGES does not capture data changed by a process or a rule.
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Please try changing your status attribute to 100 characters.

I think you will be surprised at the result.
Tom - V8.8 build 3137 - MySql / PostGres
tazzmaxx
Posts: 125
Joined: Tue Sep 02, 2008 2:13 pm

Post by tazzmaxx »

Tried it and it works as before...creates a Logit record but does not capture the old value or new value.

It only works if the record is changed by data entry.

I am assuming that you have made this work by changing data on the regular user BO and the Logit BO has a record with the changes made. I don't question this at all. This has worked for me since the GET_CHANGES function was added to Aware. What has never worked on any BO in any of my business spaces are changes that occur to a record that are updated by a process or a rule.

Support, can you confirm that GET_CHANGES will acknowledge the Old value and New Value for changes to the BO via processes and rules. It does not appear to work.
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

You are right. I am sending over a sample BSV to support.
Tom - V8.8 build 3137 - MySql / PostGres
tazzmaxx
Posts: 125
Joined: Tue Sep 02, 2008 2:13 pm

Post by tazzmaxx »

Thanks Tom!
aware_support
Posts: 7532
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

This should be fixed in version 4.8
Aware IM Support Team
wings
Posts: 133
Joined: Mon Oct 20, 2008 7:59 am
Location: Australia

Post by wings »

Back to my original problem.

How can I display the output better in aware:

Modified instance 200288 of Address
AttributeOld valueNew value
HouseNumber222
FormattedAddress11/2 Jones Street11/22 Jones Street
UpdatedOn 2009-09-27T15:20:00 2009-09-30T18:50:00
UnitNumber111



The REPLACE function wont work and I assume I'm replacing CHR(13) with \n. Going by the data in the audit object I am using.
Using 4.8 Build 1266
tazzmaxx
Posts: 125
Joined: Tue Sep 02, 2008 2:13 pm

Post by tazzmaxx »

The problem is better but still does not work. When a process changes a BO a audit record is created but it is the same as before where the result is as follows:

Modified instance of 11462 of Client
Attribute Old value New value

There are no changed values...only an audit record that fires when a system process changes a BO.

If you need a example BSV please let me know and I will send one ASAP as we really need this to work properly.
aware_support
Posts: 7532
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

REPLACE_PATTERN function does work. Use this:

REPLACE_PATTERN(MyObject.MyAttribute,'\t','<br>')

This will replace tabulation symbols with <br>

As far as the problem described by tazzmax is concerned - please send us the BSV (ideally a small one). The problem you describe does not happen in our tests.
Aware IM Support Team
wings
Posts: 133
Joined: Mon Oct 20, 2008 7:59 am
Location: Australia

Post by wings »

Thanks support
Using 4.8 Build 1266
Post Reply