content

» Change Approvals, Meta-Update Samples

Move your mouse round the image for details.

This Meta-Update script Approves Changes in Status, Scheduled For Approval.

[Main] declares script arguments and usage.

[Do] introduces an IdLog=. This is an automatic audit log CSV of every record read or written during the run. Here, we add two columns to the file.

[Do]'s AssignInit decides which section will be Launched based on the arguments given. It also initializes a few script variables. It throws an error if no input was given.

[Do] then Launches only one of three sections: [Do-inp], [Do-list], and [Do-qry].

Each of these have an AssignPre that sets a few variables and ends up with a Change Request in the proper Status in the tag: Chg.

Each of these then Launchs DoUpd to add the records.

Path Script