Process Auditing

Contains tips for configurators working with Aware IM
Post Reply
PointsWell
Posts: 1169
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Process Auditing

Post by PointsWell »

This was prompted from a question here where I suggested the use of an Audit Object to trigger scheduled processes as an alternative to having long processes called from the Scheduler.

How it works

Press the button on the Query
Screen Shot 2021-05-21 at 11.41.29.png
Screen Shot 2021-05-21 at 11.41.29.png (8.72 KiB) Viewed 635 times
The Process only does one thing - Create an Object with a value Age Pets.
The BO has a business rule - If the BO.ProcessName is [x] then run the ProcessX

The Process then contains finds all the pets, updates their ages by one year and creates Audit Lines showing all the changes being made.
The BO also has a rule if a juvenile ages beyond 1 then it is a cat or dog (as opposed to kitten or puppy) and it also generates an Audit Line.

After you've pressed the button you can see all the audit logs.
Screen Shot 2021-05-21 at 12.03.15.png
Screen Shot 2021-05-21 at 12.03.15.png (33.26 KiB) Viewed 635 times
The example runs from a button, but there's nothing preventing putting it into a Schedule.
Attachments
ProcessAudit.bsv.zip
(46.21 KiB) Downloaded 68 times
Post Reply