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
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.
The example runs from a button, but there's nothing preventing putting it into a Schedule.
Process Auditing
-
- Posts: 1471
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Process Auditing
- Attachments
-
- ProcessAudit.bsv.zip
- (46.21 KiB) Downloaded 1246 times