chore(docs): updated info about hook scripts
Some checks failed
Publish to docs.datacontroller.io / Deploy docs (push) Failing after 41s
Some checks failed
Publish to docs.datacontroller.io / Deploy docs (push) Failing after 41s
This commit is contained in:
parent
617ff1dffb
commit
c6cf00a0c3
@ -108,7 +108,11 @@ If your DQ check means that the program should not be submitted, then simply exi
|
|||||||
|
|
||||||
### PRE_APPROVE_HOOK
|
### PRE_APPROVE_HOOK
|
||||||
|
|
||||||
[Hook script](#hook-scripts) to execute before the approval diff is generated. It can be used to modify the values presented to an approver on the approve screen. This can be helpful in order to present the data in way that can be easily consumed by approvers.
|
This [hook script](#hook-scripts) will execute twice during a typical workflow - firstly, before the approval diff is generated, and again after the approval (not rejection) and _before_ the change is applied.
|
||||||
|
|
||||||
|
This makes it a helpful place to prevent changes being made, eg in situations where the target table needs to be locked by alternative systems.
|
||||||
|
|
||||||
|
It can also be used to apply display formats.
|
||||||
|
|
||||||
Leave blank if not required.
|
Leave blank if not required.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user